11.01.2010, 12:28
hi i need your help
if you wi=rite the command in server give to you $ and ramoves on tabaco but if you press the command again gives to you 100$ and don't ramove a tabaco becouse you don't have how i can make it to ramove one tabaco and give you 100$
Код:
if (strcmp(cmdtext, "/selltabaco", true)==0) { RemoveItemFromPlayerInventory(playerid,1,1); PlayerHasItemInInventory(playerid,1); GivePlayerMoney(playerid,100); return 1; }