Need some help.
#1

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:
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 "("
Line 954 is this one "CMD:ak yes(playerid, params[])"
Reply


Messages In This Thread
Need some help. - by nogh445 - 14.01.2012, 06:56
Re: Need some help. - by ScriptJorkis - 14.01.2012, 06:58
Re: Need some help. - by nogh445 - 14.01.2012, 07:02
Re: Need some help. - by Steven82 - 14.01.2012, 07:05
Re: Need some help. - by Spooky - 14.01.2012, 07:38
Re: Need some help. - by ScriptJorkis - 14.01.2012, 08:00

Forum Jump:


Users browsing this thread: 1 Guest(s)