Jump to content

Question

Posted

Imi da urmatoarea eroare :

[pawn]C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(62) : warning 201: redefinition of constant/macro (symbol "COLOR_RED")

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(15300) : error 012: invalid function call, not a valid address

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(15300) : warning 215: expression has no effect

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(15300) : warning 215: expression has no effect

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(15300) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(15300) : error 029: invalid expression, assumed zero

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\gamemodes\PG.pwn(15300) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.[/pawn]

Linia 15300

[pawn]cmd = strtok(cmdtext, idx);[/pawn]

Ce ar putea fii ?

Invat ca sa Invat.

8 answers to this question

Recommended Posts

Posted

Acuma imi da 5 Erorii .

[pawn]C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17568) : error 021: symbol already defined: "idx"

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17569) : error 012: invalid function call, not a valid address

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17569) : warning 215: expression has no effect

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17569) : warning 215: expression has no effect

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17569) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17569) : error 029: invalid expression, assumed zero

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17569) : fatal error 107: too many error messages on one line[/pawn]

Linia 17569

[pawn]cmd = strtok(cmdtext, idx);[/pawn]

Linia 17568

[pawn]new idx;[/pawn]

Acel new idx lam adaugat dupa ce mia zis membrul  de mai sus

Invat ca sa Invat.

Posted

Uitatii erori care mi le da

[pawn]C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17568) : error 012: invalid function call, not a valid address

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17568) : warning 215: expression has no effect

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17568) : warning 215: expression has no effect

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17568) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17568) : error 029: invalid expression, assumed zero

C:\Documents and Settings\RYder\Desktop\Pro-Gaming by EmiNEm\pawno\PG.pwn(17568) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

[/pawn]

Si tot codul de la onplayercommandtext pana la o comanda este

[pawn]public OnPlayerCommandText(playerid, cmdtext[])

{

    dcmd(specplayer, 10, cmdtext);

    dcmd(specoff, 7, cmdtext);

new string[256];

new playermoney;

new sendername[MAX_PLAYER_NAME];

new giveplayer[MAX_PLAYER_NAME];

new playername[MAX_PLAYER_NAME];

new cmd[256];

new tmp[256];

new giveplayerid, moneys, glasseid, skin, idx, id;

new idcar = GetPlayerVehicleID(playerid);

cmd = strtok(cmdtext, idx);[/pawn]

Poate ii mai usor.

PS : new idx il am definit deja altundeva . daca il adaug imi zice ca il am definit.

Invat ca sa Invat.

Posted

Scuzati pentru 2x post , stiu ca pot da si edit dar nu iese in evidenta.

Ma puteti ajuta va rog ? Cat de repede daca puteti .

Multumesc.

Invat ca sa Invat.

Posted

la linia asta:

public OnPlayerCommandText(playerid, cmdtext[])
ce is semnele alea!? [] ? P.S.: trb asa
public OnPlayerCommandText(playerid, cmdtext[])

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.