14.01.2012, 06:56
I'm a bit confused here.
I'm making it so when you type /ak it will say "this will cost $400, if you're sure type /ak yes" (thats where the "yes" comes from) I have this done but the /ak yes code is acting up now.
Pawn code:
Errors:
Line 954 is this one "CMD:ak yes(playerid, params[])"
I'm making it so when you type /ak it will say "this will cost $400, if you're sure type /ak yes" (thats where the "yes" comes from) I have this done but the /ak yes code is acting up now.
Pawn code:
pawn Код:
CMD:ak yes(playerid, params[])
{
GivePlayerWeapon(playerid, 30, 10000 );
GivePlayerMoney(playerid, -400);
return 1;
}
Errors:
Код:
C:\Users\user\Desktop\SAMP SERVER STUFF\A. My servers\Kush Mania\pawno\KM.pwn(954) : error 001: expected token: "(", but found "-identifier-" C:\Users\user\Desktop\SAMP SERVER STUFF\A. My servers\Kush Mania\pawno\KM.pwn(954) : error 001: expected token: ";", but found "("