27.10.2010, 03:59
I dont know if they are checkpoints but does anyone know where i can find the id or some sort of small checkpoint. Not the tall ones just normal sized ones.
(playerid,Float:x,Float:y,Float:z,Float:size) playerid The ID of the player to set the checkpoint of Float:x The X coordinate to place the checkpoint at Float:y The Y coordinate to place the checkpoint at Float:z The Z coordinate to place the checkpoint at Float:size The size of the checkpoint
// In this example the player's checkpoint will be set when they spawn.
// On entering the checkpoint they will receive $1000 and the checkpoint will be disabled.
public OnPlayerSpawn(playerid)
{
SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0); // 3.0 is the not the smallest if u want it very little i suggest you get 1.0 but 3.0 is good Enough
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
GivePlayerMoney(playerid, 1000);
DisablePlayerCheckpoint(playerid);
return 1;
}
DisablePlayerCheckpoint(playerid);