I need help
#3

Quote:

if (strcmp("/ak47", cmdtext, true, 10) == 0)
{
if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, 0xFF0000AA,"You don't have enough money");
SendClientMessage(playerid, 0xFF0000AA,"You bought an Ak47");
GivePlayerWeapon(playerid, 30, 1000);
GivePlayerMoney(playerid, -100);
return 1;
}

This will work

Damn , this will work // this was edit :P
Reply


Messages In This Thread
I need help - by Trawltrawl - 07.04.2012, 14:29
Re: I need help - by Aira - 07.04.2012, 14:38
Re: I need help - by ivanVU - 07.04.2012, 14:41
Re: I need help - by Shabi RoxX - 07.04.2012, 14:42
Re: I need help - by Trawltrawl - 07.04.2012, 14:44
Re: I need help - by ivanVU - 07.04.2012, 14:45
Re: I need help - by Trawltrawl - 07.04.2012, 14:49
Re: I need help - by ivanVU - 07.04.2012, 14:52
Re: I need help - by Shabi RoxX - 07.04.2012, 14:56
Re: I need help - by DaRealShazz - 18.05.2012, 03:20

Forum Jump:


Users browsing this thread: 2 Guest(s)