[Ajuda] public OnPlayerEnterCheckpoint
#5

Tenta com essa callback:

pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER && oldstate != PLAYER_STATE_DRIVER)
    {
        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)