/locate command help.
#5

Just check if a player is in a vehicle before that.

pawn Код:
if(IsPlayerInAnyVehicle(targetid))
   format(str3, sizeof (str3), "~y~In A ~w~%s.", VehicleNames[GetVehicleModel(GetPlayerVehicleID(targetid))-400]);
else strcat(str3,"~y~not in vehicle"); // no need to use format if there are no variables.
Reply


Messages In This Thread
/locate command help. - by earlybird325 - 09.09.2014, 11:01
Re: /locate command help. - by dusk - 09.09.2014, 11:05
Re: /locate command help. - by DaniceMcHarley - 09.09.2014, 11:32
Re: /locate command help. - by earlybird325 - 10.09.2014, 02:24
Re: /locate command help. - by dusk - 10.09.2014, 10:37

Forum Jump:


Users browsing this thread: 3 Guest(s)