[Ajuda] Nгo aguento mais Spawn Vehicle
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    SetPVarInt(playerid, "LastEnterVeh", 0xffff);
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate & PLAYER_STATE_DRIVER || newstate & PLAYER_STATE_PASSENGER)
    {
        if(GetTickCount() - GetPVarInt(playerid, "LastEnterVeh") < 150 && GetPVarInt(playerid, "LastEnterVeh") != 0xffff)
        {
            GameTextForPlayer(playerid, "~l~h~~h~h~h~h~~~~\\//@!#$&*~~~~~", 0xffff, 2);
        }
        SetPVarInt(playerid, "LastEnterVeh", GetTickCount());
    }
    return 1;
}
Reply


Messages In This Thread
Nгo aguento mais Spawn Vehicle - by Ley - 02.09.2012, 02:12
Re: Nгo aguento mais Spawn Vehicle - by Victor' - 02.09.2012, 02:23
Re: Nгo aguento mais Spawn Vehicle - by Ley - 02.09.2012, 02:29
Re: Nгo aguento mais Spawn Vehicle - by Victor' - 02.09.2012, 02:34
Re: Nгo aguento mais Spawn Vehicle - by Ley - 02.09.2012, 02:37

Forum Jump:


Users browsing this thread: 1 Guest(s)