GetClosestVehicle Problem..
#1

Okay so I'm experiencing some problems here. In my /carlock command I'm using this GetClosestvehicle function and it works fine to check if the car is locked or unlocked etc. When I add this, however, it stops to work. Don't this about what strmatch is..

pawn Код:
if(strmatch(CarSystem[GetClosestVehicle(playerid,5)][Carowner],pName(playerid)))

Okay so if I add GetPlayerVehicleID(playerid) on the GetClosestVehicle spot it all works fine when being inside the vehicle. When adding GetClosestVehicle it doesn't work at all..
Reply


Messages In This Thread
GetClosestVehicle Problem.. - by Mystique - 29.08.2010, 08:43
Re: GetClosestVehicle Problem.. - by Norck - 29.08.2010, 08:58
Re: GetClosestVehicle Problem.. - by Voldemort - 29.08.2010, 09:15
Re: GetClosestVehicle Problem.. - by Mystique - 29.08.2010, 09:34

Forum Jump:


Users browsing this thread: 2 Guest(s)