Detecting if a player is in their owned vehicle REP+
#1

Hey, how can I detect if a player is in their owned vehicle, for example I need it so they can only use certain commands in there OWN vehicle, like /lock, /savecar etc

Would I use like

new vehid = GetPlayerVehicleID(playerid);
if(PlayerInfo[playerid][Vehicle] != vehid); well, you get my point.
Reply


Messages In This Thread
Detecting if a player is in their owned vehicle REP+ - by Azzeto - 30.01.2012, 10:38
Re: Detecting if a player is in their owned vehicle REP+ - by milanosie - 30.01.2012, 10:39
Re: Detecting if a player is in their owned vehicle REP+ - by Azzeto - 30.01.2012, 10:40
Re: Detecting if a player is in their owned vehicle REP+ - by milanosie - 30.01.2012, 10:43
Re: Detecting if a player is in their owned vehicle REP+ - by milanosie - 30.01.2012, 10:46
Re: Detecting if a player is in their owned vehicle REP+ - by Azzeto - 30.01.2012, 10:48
Re: Detecting if a player is in their owned vehicle REP+ - by milanosie - 30.01.2012, 10:55
Re: Detecting if a player is in their owned vehicle REP+ - by Azzeto - 30.01.2012, 10:56
Re: Detecting if a player is in their owned vehicle REP+ - by Unte99 - 30.01.2012, 11:12
Re: Detecting if a player is in their owned vehicle REP+ - by DRIFT_HUNTER - 30.01.2012, 11:35
Re: Detecting if a player is in their owned vehicle REP+ - by Azzeto - 30.01.2012, 20:55
Re: Detecting if a player is in their owned vehicle REP+ - by Azzeto - 01.02.2012, 04:01
Re: Detecting if a player is in their owned vehicle REP+ - by Azzeto - 02.02.2012, 19:08
Re: Detecting if a player is in their owned vehicle REP+ - by milanosie - 02.02.2012, 19:18
Re: Detecting if a player is in their owned vehicle REP+ - by Azzeto - 02.02.2012, 19:32
Re: Detecting if a player is in their owned vehicle REP+ - by milanosie - 02.02.2012, 19:37
Re: Detecting if a player is in their owned vehicle REP+ - by Fj0rtizFredde - 02.02.2012, 19:38
Re: Detecting if a player is in their owned vehicle REP+ - by milanosie - 02.02.2012, 19:39
Re: Detecting if a player is in their owned vehicle REP+ - by Azzeto - 02.02.2012, 19:42

Forum Jump:


Users browsing this thread: 2 Guest(s)