HELP! [How can i create Gang Cars?]
#2

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
new vehid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
{
    if(vehid == vehid)
    {
        if(gTeam[playerid] != TEAM_KTB)
        {
            RemovePlayerFromVehicle(playerid);
        }
        else { }
    }
}
    return 1;
}
Un-tested
Reply


Messages In This Thread
HELP! [How can i create Gang Cars?] - by Santox14 - 09.09.2011, 13:48
Re: HELP! [How can i create Gang Cars?] - by Jack_Leslie - 09.09.2011, 13:54

Forum Jump:


Users browsing this thread: 2 Guest(s)