Jump to content
  • 0

imi tot da eroare la un script


bossuldam

Question

sunt incepator de scripting si m-am apucat sa fac unul. este vorba de un script gen /barme dak ati mai auzit de el pe alte servere. Oricum, este un script in care poti sa iti cumperi arme gen HSrocket doar cu scor. Asa ca am creat un script dar tot imi da eroare.

pls dak puteti sa imi dati un link va sunt recunoscator MS

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

aici e scriptul: if(strcmp(cmdtext,"/hsrock",true)==0)

{

if(GetPlayerScore(playerid) < -50)

{

SendClientMessage(playerid,COLOR_RED,"Ai Nevoie de 50scor");

return 1;

}

GivePlayerWeapon(playerid,36,200);

SendClientMessage(playerid,COLOR_WHITE"Ai Primit Un Hsrocket Pentru 50scor");

return 1;

}

si aici sunt erorile (folosesc un sa-mp 0.3c): C:\Documents and Settings\User\Desktop\Jocuri\Server2\gamemodes\DUBm.pwn(322) : warning 225: unreachable code

C:\Documents and Settings\User\Desktop\Jocuri\Server2\gamemodes\DUBm.pwn(649) : error 001: expected token: ",", but found "-string-"

C:\Documents and Settings\User\Desktop\Jocuri\Server2\gamemodes\DUBm.pwn(649) : warning 215: expression has no effect

C:\Documents and Settings\User\Desktop\Jocuri\Server2\gamemodes\DUBm.pwn(649) : error 001: expected token: ";", but found ")"

C:\Documents and Settings\User\Desktop\Jocuri\Server2\gamemodes\DUBm.pwn(649) : error 029: invalid expression, assumed zero

C:\Documents and Settings\User\Desktop\Jocuri\Server2\gamemodes\DUBm.pwn(649) : fatal error 107: too many error messages on one line

Link to comment
Share on other sites

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.