[Ajuda] Detectar se o player esta no checkpoint
#5

Esse CPS_AddCheckpoint й de alguma biblioteca de seu gamemode, essa funзгo nгo й padrгo do SA-MP.

https://sampwiki.blast.hk/wiki/SetPlayerCheckpoint
pawn Code:
public OnPlayerSpawn(playerid)
{
    SetPlayerCheckpoint(playerid, 1982.6150, -220.6680, -0.2432, 3.0);
    return 1;
}
 
public OnPlayerEnterCheckpoint(playerid)
{
    GivePlayerMoney(playerid, 1000);
    DisablePlayerCheckpoint(playerid);
    return 1;
}
Reply


Messages In This Thread
Detectar se o player esta no checkpoint - by Foodinha - 29.04.2014, 00:46
Re: Detectar se o player esta no checkpoint - by hard_dalzot - 29.04.2014, 01:35
Re: Detectar se o player esta no checkpoint - by Foodinha - 29.04.2014, 12:23
Re: Detectar se o player esta no checkpoint - by hard_dalzot - 29.04.2014, 14:30
Re: Detectar se o player esta no checkpoint - by Kuddy - 29.04.2014, 14:35
Re: Detectar se o player esta no checkpoint - by ZaturN - 29.04.2014, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)