10.03.2010, 17:28
u can just separate them which is the easy way like this :
same for /buyguns 2 , 3 ,4 etc..
Код:
if(strcmp(cmdtext,"/buyguns 1",true)==0) { if(GetPlayerMoney(playerid) >= 20000) { SendClientMessage(playerid, COLOR_OOC, "Computer: You purchased a rocket launcher!"); GivePlayerWeapon(playerid, 36, 5); GivePlayerMoney(playerid, -20000); } else { SendClientMessage(playerid, COLOR_OOC, "Computer: You Don't Have Enough Money"); } return 1; }