28.02.2009, 06:19
If player enter a checpoint then server send player a money (500$)
How to make that ?
sorry my bad english..
How to make that ?
sorry my bad english..
Originally Posted by ʞɹod ɹǝpıds || SpiderPork
|
public OnPlayerSpawn(playerid)
{
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
GivePlayerMoney(playerid, 1000);
DisablePlayerCheckpoint(playerid); // or remove this so you can use it again
return 1;
}