Question
#2

Quote:
Originally Posted by laser50
hi, i`ve asked this b4 and nobody really know what i was wanting.
i will explain what i need:
I need Something witch will lock doors of a car (so not enterable) for all classes/skins except one.

like this: a cop skin can go in cop cars, if a civillian tries he wont be able to get in as driver.

i hope someone understands me and knows a solution to this thing what im looking for a week.
Are you honestly saying you've searched and not been able to find anything on this?

Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
      if(gTeam[playerid] != TEAM_COP)
      {
          if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 596)
          {
                RemovePlayerFromVehicle(playerid);
          }
    }
}
return 1;
}
Reply


Messages In This Thread
Question - by laser50 - 09.06.2009, 20:52
Re: Question - by lol2112 - 09.06.2009, 21:07
Re: Question - by laser50 - 09.06.2009, 21:18
Re: Question - by lol2112 - 09.06.2009, 21:26
Re: Question - by laser50 - 09.06.2009, 21:55
Re: Question - by lol2112 - 09.06.2009, 22:03
Re: Question - by laser50 - 09.06.2009, 22:07
Re: Question - by HuRRiCaNe - 09.06.2009, 22:09

Forum Jump:


Users browsing this thread: 1 Guest(s)