01.06.2010, 22:58
Quote:
Originally Posted by Kar
i wanna make it like.. [NAME] has stolen [cash amount] from [SFBANK] or which ever other bank
Код:
if(strcmp(cmdtext, "/robbank", true) == 0) // If they type /robbank { if(IsPlayerInCheckpoint(playerid, 2312.6365, -6.3147, 26.7422)) // Check if they are in a checkpoint { new cash = random(60000); // random number between 1 & 60000 is the money they will get GivePlayerMoney(playerid, cash); // Give the player the money! SendClientMessageToAll("%s has stolen %d From %s"); } |