sendclientmessagetoall prob
#6

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");
}
Thats not correct, you can't create a string without formatting. But i see what you mean
Reply


Messages In This Thread
sendclientmessagetoall prob - by Kar - 01.06.2010, 22:50
Re: sendclientmessagetoall prob - by Antonio [G-RP] - 01.06.2010, 22:51
Re: sendclientmessagetoall prob - by Carlton - 01.06.2010, 22:52
Re: sendclientmessagetoall prob - by Toni - 01.06.2010, 22:55
Re: sendclientmessagetoall prob - by Kar - 01.06.2010, 22:57
Re: sendclientmessagetoall prob - by Toni - 01.06.2010, 22:58
Re: sendclientmessagetoall prob - by Toni - 01.06.2010, 22:58
Re: sendclientmessagetoall prob - by VinceQc - 01.06.2010, 23:00
Re: sendclientmessagetoall prob - by [NYRP]Mike. - 01.06.2010, 23:32
Re: sendclientmessagetoall prob - by Kar - 02.06.2010, 00:17

Forum Jump:


Users browsing this thread: 1 Guest(s)