15.02.2009, 12:05
well i wanna make /givecash command for my script but i don't know how, can anyone help me?
)|
Originally Posted by Lenny.
well i wanna make /givecash command for my script but i don't know how, can anyone help me?
|
|
Originally Posted by Jump3r
Quote:
|
if(!strcmp(cmd, "/givecash", true)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xC0C0C0/*samp color :)*/, "USAGE: /givecash [ammount]");
GivePlayerMoney(playerid, strval(tmp));
return 1;
}