Jump to content
  • 0

probleme la gm


Question

Posted

Deci am cam multe errori,cine ma ajuta ?

Vam dat eroare si sub linia din gm

C:\Documents and Settings\PAPANA\My Documents\GM SA-MP\RPG\pawno\include\Streamer.inc(435) : warning 202: number of arguments does not match definition
new Text:Textdraw4;

C:\Documents and Settings\PAPANA\My Documents\GM SA-MP\RPG\pawno\include\Streamer.inc(449) : warning 202: number of arguments does not match definition
#pragma unused thea1,thea2,thea3,thea4,thea5,thea6

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(17161) : error 017: undefined symbol "strtok"
	cmd = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(17161) : error 033: array must be indexed (variable "cmd")
	cmd = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(17360) : error 017: undefined symbol "strtok"
 x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(17360) : error 033: array must be indexed (variable "x_nr")
x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(17560) : error 017: undefined symbol "strtok"
x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(17560) : error 033: array must be indexed (variable "x_nr")
x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(17947) : error 017: undefined symbol "strtok"
	x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(17947) : error 033: array must be indexed (variable "x_nr")
	x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18001) : error 017: undefined symbol "strtok"
x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18001) : error 033: array must be indexed (variable "x_nr")
x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18055) : error 017: undefined symbol "strtok"
x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18055) : error 033: array must be indexed (variable "x_nr")
x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18118) : error 017: undefined symbol "strtok"
x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18118) : error 033: array must be indexed (variable "x_nr")
x_nr = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18177) : error 017: undefined symbol "strtok"
new x_nr[256];

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18177) : error 033: array must be indexed (variable "tmp")
new x_nr[256];

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes
\bestone..pwn(18185) : error 017: undefined symbol "strtok"
	tmp = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18185) : error 033: array must be indexed (variable "tmp")
	tmp = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18260) : error 017: undefined symbol "strtok"
tmp = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18260) : error 033: array must be indexed (variable "tmp")
tmp = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18502) : error 017: undefined symbol "strtok"
	tmp = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18502) : error 033: array must be indexed (variable "tmp")
	tmp = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18535) : error 017: undefined symbol "strtok"
	tmp = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18535) : error 033: array must be indexed (variable "tmp")
	tmp = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18568) : error 017: undefined symbol "strtok"
tmp = strtok(cmdtext, idx);

C:\Documents and Settings\PAPANA\My Documents\RPG\gamemodes\bestone..pwn(18568) : error 033: array must be indexed (variable "tmp")
tmp = strtok(cmdtext, idx);

5 answers to this question

Recommended Posts

Posted

Deci e clar din ditamai forumu unu nu e in stare ?

Iar a mai trecut o zi si nimic,macar spunetimi ca nu stiti si gata ..

Dar aici imi zice cineva /

C:\Documents and Settings\PAPANA\My Documents\GM SA-MP\rpg\gamemodes\bestone.pwn(8864) : warning 225: unreachable code
C:\Documents and Settings\PAPANA\My Documents\GM SA-MP\rpg\gamemodes\bestone.pwn(52628) : warning 203: symbol is never used: "CreatedCar"
C:\Documents and Settings\PAPANA\My Documents\GM SA-MP\rpg\gamemodes\bestone.pwn(52628) : warning 203: symbol is never used: "PlayerPos"

la createdcar si playerpos nu e nicio linie e ultima detot din gm

Cand intru in joc imi apare asta: country filed not found.

Ce are

http://img-host.hi2.ro/image/vs81z7rsa-mp-000.png

Posted

undefined symbol "strtok" si "x_nr" :

[pawn]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;

}[/pawn]

userbar6.jpg
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.