Wysłany: 2013-12-16, 15:06
Driftin33k
DrifteR
Wiek: 29 Na forum: 4580 dni Posty: 43
Nick w MP: _Driftin3K_
Piwa : 40
Sillence , Czymaj:
Kod: public OnVehicleDamageStatusUpdate(vehicleid, playerid)
Podpis
Reaktywaja serwera Drift Team! 27.02.2016r!
Wysłany: 2013-12-16, 15:08
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Driftin33k , Kilka argument?w i od razu jest r??nica
Kod: forward OnVehicleDamageStatusUpdate(vehicleid, playerid);
Wysłany: 2013-12-16, 15:31
Driftin33k
DrifteR
Wiek: 29 Na forum: 4580 dni Posty: 43
Nick w MP: _Driftin3K_
Piwa : 40
Wysłany: 2013-12-16, 19:27
Morello12
Wiek: 34 Na forum: 4895 dni Posty: 99
Nick w MP: Mr.K
Piwa : 13
Witam. Poczas kompilacji gm mam takie errory:
Kod:
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(487) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(487) : error 033: array must be indexed (variable "cmd")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(792) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(792) : error 033: array must be indexed (variable "dir")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(799) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(799) : error 033: array must be indexed (variable "dir")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(821) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(821) : error 033: array must be indexed (variable "dir1")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(828) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(828) : error 033: array must be indexed (variable "dir1")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1189) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1189) : error 033: array must be indexed (variable "ulecz")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1808) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1808) : error 033: array must be indexed (variable "string")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1817) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1817) : error 033: array must be indexed (variable "string")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1826) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1826) : error 033: array must be indexed (variable "string")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1835) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1835) : error 033: array must be indexed (variable "string")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1844) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1844) : error 033: array must be indexed (variable "string")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1853) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1853) : error 033: array must be indexed (variable "string")
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1862) : error 017: undefined symbol "strtok"
C:\DOCUME~1\Cruser\Pulpit\n4t2.pwn(1862) : error 033: array must be indexed (variable "string")
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Wysłany: 2013-12-16, 19:30
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Morello12 , dodaj gdzie? na dole:
Kod: strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
Wysłany: 2013-12-16, 19:35
Morello12
Wiek: 34 Na forum: 4895 dni Posty: 99
Nick w MP: Mr.K
Piwa : 13
Skompilowalo si? ale co? takiego jest:
Kod: Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 5048 bytes
Code size: 335676 bytes
Data size: 244480 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5346 cells (21384 bytes)
Total requirements: 601588 bytes
Wysłany: 2013-12-16, 19:42
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Morello12 , Nie ma w tym ?adnego b??du. Nie musisz si? martwi? o poprawno?? dzia?ania gamemode ;]
Wysłany: 2013-12-16, 20:00
Morello12
Wiek: 34 Na forum: 4895 dni Posty: 99
Nick w MP: Mr.K
Piwa : 13
Jeszcze mam jeden problem. Gdy uruchamiam serwer to jest unknown. Logi:
Kod:
SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team
[19]
[19] Server Plugins
[19] --------------
[19] Loading plugin: sscanf
[19]
[19] ===============================
[19] sscanf plugin loaded.
[19] (c) 2009 Alex "Y_Less" Cole
[19] ===============================
[19] Loaded.
[19] Loading plugin: streamer
[19]
*** Streamer Plugin v2.3.8 by Incognito loaded ***
[19] Loaded.
[19] Loading plugin: audio
[19]
*** Audio Plugin v0.4 by Incognito loaded ***
[19] Loaded.
[19] Loaded 3 plugins.
[19]
[19] Filterscripts
[19] ---------------
[19] Loading filterscript 'gl_actions.amx'...
[19] Loading filterscript 'gl_realtime.amx'...
[19] Loading filterscript 'gl_property.amx'...
[19]
-----------------------------------
[19] Grand Larceny Property Filterscript
[19] -----------------------------------
[19] Loading filterscript 'gl_mapicon.amx'...
[19] Loading filterscript 'ls_mall.amx'...
[19] Loading filterscript 'attachments.amx'...
[19] Loading filterscript 'skinchanger.amx'...
[19]
--Admin Player Skin Changer Loaded
[19] Loading filterscript 'vspawner.amx'...
[19]
--Admin Vehicle Spawner Loaded
[19] Loaded 8 filterscripts.
[19] Reading File: blank
[19] Reading File: properties/houses.txt
[19] Reading File: properties/businesses.txt
[19] Reading File: properties/banks.txt
[19] Reading File: properties/police.txt
[19] Script[gamemodes/n4t2.amx]: Run time error 19: "File or function is not found"
[19] Number of vehicle models: 0
[19] --- Server Shutting Down.
[19]
[19] ===============================
[19] sscanf plugin unloaded.
[19] ===============================
[19]
*** Streamer Plugin v2.3.8 by Incognito unloaded ***
[19]
*** Audio Plugin v0.4 by Incognito unloaded ***
Wysłany: 2013-12-16, 20:02
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Nie posiadasz jakiego? pluginu.
Kod: Script[gamemodes/n4t2.amx]: Run time error 19: "File or function is not found"
Podaj wszystkie include jakich u?ywa tw?j GM.
Wysłany: 2013-12-16, 20:35
Morello12
Wiek: 34 Na forum: 4895 dni Posty: 99
Nick w MP: Mr.K
Piwa : 13
Kod: #include <a_samp>
#include <dudb>
#include <dini>
#include <sscanf2>
#include <core>
#include <float>
#include <streamer>
#pragma tabsize 0
Wysłany: 2013-12-16, 20:36
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Zaktualizuj pluginy sscanf oraz streamer :)
Wysłany: 2013-12-17, 17:53
ekicam2
KISS
Wiek: 28 Na forum: 5602 dni Posty: 31
Nick w MP: ekicam2
Piwa : 11
Cze?? mam problem z robieniem pickup?w, a wi?c do rzeczy robi? prosty skrypt na serwer. Podkowy itp. problem pojawia si? przy deklaracji tablicy pickupami, mianowicie:
Kod:
new podkowy_all[MAX_PLAYERS][80];
podkowy_all[playerid][0] = CreateDynamicPickup(3056, 1, 2849.8599,1290.0112,22.6503);
podkowy_all[playerid][1] = CreateDynamicPickup(3056, 1, 2373.9526,1808.3027,16.4524);
podkowy_all[playerid][2] = CreateDynamicPickup(3056, 1, 1173.0544,-2262.9822,28.8131);
podkowy_all[playerid][3] = CreateDynamicPickup(3056, 1, 2406.1035,-2265.8057,61.9073);
podkowy_all[playerid][4] = CreateDynamicPickup(3056, 1, 1414.3491,-1322.6996,9.0558);
podkowy_all[playerid][5] = CreateDynamicPickup(3056, 1, 2856.0227,-1470.3097,49.1719);
podkowy_all[playerid][6] = CreateDynamicPickup(3056, 1, 2371.4297,-2114.7302,27.1750);
podkowy_all[playerid][7] = CreateDynamicPickup(3056, 1, 2385.4622,-2584.9216,21.4924);
podkowy_all[playerid][8] = CreateDynamicPickup(3056, 1, 1296.1648,-785.7759,88.3125);
podkowy_all[playerid][9] = CreateDynamicPickup(3056, 1, 1549.3578,-982.4756,37.4915);
podkowy_all[playerid][10] = CreateDynamicPickup(3056, 1, 2280.5640,-1053.6550,54.2719);
podkowy_all[playerid][11] = CreateDynamicPickup(3056, 1, 2821.1006,-1337.0435,27.9080);
Error to: C:\Program Files\Rockstar Games\samp server\pawno\podkowy.pwn(11) : error 010: invalid function or declaration, linijka jedenasta to ta z pierwszym elementem tablicy.
Wysłany: 2013-12-17, 20:30
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
ekicam2 , Gdzie ten kod umieszczasz ? U mnie kompiluje si? bez problem?w :]
Wysłany: 2013-12-17, 20:54
Pikus2
Wiek: 29 Na forum: 4698 dni Posty: 244
Piwa : 5
Witam mam komende:
http://pastebin.com/rhDG4vCy
Kt?ra by?a przerabiana z zcmd na zcmd wygl?da?? ona tak:
http://pastebin.com/yyCmG3yk
A oto warningi kt?re mi wyskakuj? gdy dodam t? komende
Kod: E:\Luki\GRY\Truck\gamemodes\5.pwn(3245) : error 017: undefined symbol "params"
E:\Luki\GRY\Truck\gamemodes\5.pwn(3259) : error 001: expected token: "-string end-", but found "-identifier-"
E:\Luki\GRY\Truck\gamemodes\5.pwn(3259) : warning 215: expression has no effect
E:\Luki\GRY\Truck\gamemodes\5.pwn(3259) : error 001: expected token: ";", but found "-integer value-"
E:\Luki\GRY\Truck\gamemodes\5.pwn(3259) : warning 215: expression has no effect
E:\Luki\GRY\Truck\gamemodes\5.pwn(3259) : error 001: expected token: ";", but found "-string-"
E:\Luki\GRY\Truck\gamemodes\5.pwn(3259) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Wysłany: 2013-12-17, 22:44
Sillence
Wiek: 26 Na forum: 5157 dni Posty: 1514
Nick w MP: Sillence
Piwa : 1517
Pikus2 , 1. Doda?e? 'include zcmd' ?
2. Usun??e? zb?dny public dla komend w zcmd ?
Tagi: błędy :: przy :: kompilacji :: rozwiązanie
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: