[Ajuda] public OnPlayerEnterCheckpoint
#1

Queria ajuda de voces pra colocar aqui na public OnPlayerEnterCheckpoint so setar os parada se o player tiver dentro de um veiculo tentei desse tipo abaixo mas nao deu certo.

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(IsPlayerInAnyVehicle(playerid))// coloquei aqui pra so dar pra ele pegar a carga se tiver dentro do veiculo mas nao ta dando certo
    {
       if(PlayerToPoint(2.0,playerid,2453.6072,-1981.1222,13.5469))
       {
        PlayerInfo[playerid][pCarga] = 1;
        SendClientMessage(playerid, COLOR_WHITE , "*Vocк pegou uma carga, leve ela atй sua HQ  !.");
        SetPlayerCheckpoint(playerid,-71.5407,-1123.4725,1.6677, 5.0);
        return 1;
    }
Reply


Messages In This Thread
public OnPlayerEnterCheckpoint - by Freak@ - 21.02.2013, 20:57
Re: public OnPlayerEnterCheckpoint - by MatheusAlcapone - 21.02.2013, 20:59
Re: public OnPlayerEnterCheckpoint - by SeV_ - 21.02.2013, 21:02
Re: public OnPlayerEnterCheckpoint - by Freak@ - 21.02.2013, 21:06
Re: public OnPlayerEnterCheckpoint - by Delete_ - 21.02.2013, 21:12

Forum Jump:


Users browsing this thread: 2 Guest(s)