Cp with command...
#4

Код:
public OnPlayerSpawn(playerid)
{
new atm=SetCheckpoint(playerid,x,y,z,sizeofcheckpoint); good size can be 2 to 8.
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/robatm", true, 7))
{ if(IsPlayerInCheckPoint(playerid)==1);
  GivePlayerMoney(playerid,1000); whatever amount you want
 return 1;
}
You can use OnplayerEnterCheckpoint too. Not sure but may work.
Reply


Messages In This Thread
Cp with command... - by TouR - 10.12.2009, 12:09
Re: Cp with command... - by Jeffry - 10.12.2009, 12:22
Re: Cp with command... - by Mikep. - 10.12.2009, 13:13
Re: Cp with command... - by DJDhan - 10.12.2009, 13:20
Re: Cp with command... - by LarzI - 10.12.2009, 13:28
Re: Cp with command... - by Correlli - 10.12.2009, 13:30

Forum Jump:


Users browsing this thread: 1 Guest(s)