[Question] Random Event
#9

Quote:
Originally Posted by FS}Nameless [LDR
]
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/robstore", true)==0)
    {
    if(CPS_IsPlayerInCheckpoint(playerid, testrob))
    GivePlayerMoney(playerid, randomEx(25000, 50000));
    }
    else
    {
    SendClientMessage(playerid,white,"Sorry Your Not In A Store.");
    }
    return 1;
}
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/robstore", true) == 0)
  {
    if(CPS_IsPlayerInCheckpoint(playerid, testrob)) GivePlayerMoney(playerid, randomEx(25000, 50000));
    else SendClientMessage(playerid, white, "Sorry Your Not In A Store.");
    return 1;
  }
  return 0;
}
Reply


Messages In This Thread
[Question] Random Event - by fsnameless - 04.01.2010, 13:02
Re: [Question] Random Event - by Correlli - 04.01.2010, 13:10
Re: [Question] Random Event - by fsnameless - 05.01.2010, 13:33
Re: [Question] Random Event - by SiJ - 05.01.2010, 13:34
Re: [Question] Random Event - by fsnameless - 05.01.2010, 14:05
Re: [Question] Random Event - by MadeMan - 05.01.2010, 14:22
Re: [Question] Random Event - by fsnameless - 05.01.2010, 14:23
Re: [Question] Random Event - by MadeMan - 05.01.2010, 14:26
Re: [Question] Random Event - by Correlli - 05.01.2010, 14:33
Re: [Question] Random Event - by fsnameless - 06.01.2010, 13:33

Forum Jump:


Users browsing this thread: 2 Guest(s)