Need A Script Code
#2

pawn Код:
public OnPlayerStateChange(playerid,newstate,oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
    vehid = GetPlayerVehicleID(playerid)
    if(vehid == admincar)
    {
    if(!IsPlayerLuxDm(playerid))
    {
    EjectPlayerFromVehicle(playerid)
    return 1;
    }
else {
    //admin is in admin car
   }
  }
 }
return 1;
}
not tested.
Reply


Messages In This Thread
Need A Script Code - by mastalol - 21.07.2011, 02:01
Re: Need A Script Code - by Jack_Leslie - 21.07.2011, 02:07
Re: Need A Script Code - by [HiC]TheKiller - 21.07.2011, 02:10

Forum Jump:


Users browsing this thread: 1 Guest(s)