warn help
#2

IsPlayerInAnyVehicle should be replaced with IsPlayerInVehicle.

Here's the code.

pawn Код:
if(!strcmp(playername, VehicleInfo[vehicleid][vehOwner], true, MAX_PLAYER_NAME) && IsPlayerInVehicle(playerid, vehicleid)) return SendClientMessage(playerid, COLOR_GREY, "You are not in your vehicle.");
Reply


Messages In This Thread
warn help - by Rabea - 18.04.2015, 11:35
Re: warn help - by JaKe Elite - 18.04.2015, 11:38
Re: warn help - by Rabea - 18.04.2015, 11:48

Forum Jump:


Users browsing this thread: 1 Guest(s)