[Ajuda] Como detectar quando o player cai da moto
#3

Sу tem essa funзгo OnPlayerExitVehicle?, jб tentei e nada

Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    if(CapaceteStatus[playerid] == 1  && IsABike(vehicleid))
    {
        RemovePlayerAttachedObject(playerid, SLOT);
        SendClientMessage(playerid,Azul,"Retiras-te o Capacete.");
        CapaceteStatus[playerid] = 0;
    }
    DestroyObject(myobject[vehicleid]);
e nads
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)