/givecash
#6

you'll need strtok:
(note i didn't test it)
Код:
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;
}
Reply


Messages In This Thread
/givecash - by amrour - 15.02.2009, 12:05
Re: /givecash - by [RP]Rav - 15.02.2009, 12:09
Re: /givecash - by arnoldziux - 15.02.2009, 12:59
Re: /givecash - by amrour - 15.02.2009, 14:23
Re: /givecash - by Marcel - 15.02.2009, 14:38
Re: /givecash - by rensfromrpas - 15.02.2009, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)