Larsey123IsMe
Unregistered
Quote:
Originally Posted by Kitten
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/robsex", cmdtext, true, 10) == 0) { new rand = random(50000)+45000; GivePlayerMoney(playerid, rand); SetTimer("Sex",300000,true); } else } SendClientMessage(playerid,COLOR_DARKRED,"The sex shop have recendly been robbed!"); return 1; }
forward Sex(playerid); public Sex(playerid) { SendClientMessage(playerid,COLOR_DARKRED,"SHOP IS ALREADY ROBED"); //blah //blah whatever else u want to feature for this
|
That dont work very well, I can rob the sex shop like 50 times and then this text come up "The sex shop have recendly been robbed!" After that i can keep robbing