Small checkpoints
#1

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.
Reply
#2

Well first of all
Код:
(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
Example for sa-mp wiki

pawn Код:
// 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;
}
Reply
#3

Well is this the tall checkpoints that go high in sky or the normal ones (half the height of a SAMP character) ?

Oh and are they always red?
Reply
#4

this is the normal one

the tall ones are SetPlayerRaceCheckpoint those are the race checkpoints goes all the way in the air these are the normal ones i just give u
Reply
#5

Do i have to set the color to transparent (lol idk if it is a color) so that it will hide? Because i dont want players to see it on their radar.
Reply
#6

Will You can disable it by
pawn Код:
DisablePlayerCheckpoint(playerid);
i dont think u can hide it in the map :P maybe theres a way i just dont know it sorry
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)