Anti Team Jack!
#7

pawn Код:
if(!ispassenger && IsDriverInVehicle(vehicleid))
{
    SetPlayerHealth(playerid, 0);
}
pawn Код:
IsDriverInVehicle(vehicleid)
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i) && IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == PLAYER_STATE_DRIVER) return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Anti Team Jack! - by Tigerbeast11 - 04.11.2009, 15:56
Re: Anti Team Jack! - by Sergei - 04.11.2009, 16:03
Re: Anti Team Jack! - by Tigerbeast11 - 04.11.2009, 16:07
Re: Anti Team Jack! - by Tigerbeast11 - 04.11.2009, 17:08
Re: Anti Team Jack! - by Tigerbeast11 - 04.11.2009, 17:13
Re: Anti Team Jack! - by Tigerbeast11 - 04.11.2009, 17:21
Re: Anti Team Jack! - by MadeMan - 04.11.2009, 17:24
Re: Anti Team Jack! - by Tigerbeast11 - 04.11.2009, 17:28
Re: Anti Team Jack! - by MadeMan - 04.11.2009, 17:34
Re: Anti Team Jack! - by Tigerbeast11 - 04.11.2009, 18:17

Forum Jump:


Users browsing this thread: 1 Guest(s)