GetPlayerVehicleID or GetVehicleModel?
#1

I want to check if the player is in vehicle id 448. The Pizza Boy, which code do I use, this is fucking annoying me a bit. Eg.
pawn Код:
// vehicleid       HERE doesn't work.
if (GetPlayerVehicleID(playerid) == 448)
// But it does here? Which was under OnPlayerEnterVehicle
if (GetPlayerVehicleID(vehicleid) == 448)
Reply
#2

new vid=GetVehicleModel(GetPlayerVehicleID(playerid));
if(vid == 44 ...
Reply
#3

Alright thanks mate.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)