29.05.2018, 06:05
You dont have to use qid. vid will work fine.
Second, why do you want to GetVehiclePos when you do nothing with it. You can put someone inside a car without even getting the position.
In the ErrorMessage, which one does it get called, (1) or (2)
EDIT: Dont do double posting.
Second, why do you want to GetVehiclePos when you do nothing with it. You can put someone inside a car without even getting the position.
PHP код:
if(GetPlayerVehicleAccess(playerid, qid) < 2 && !IsPlayerAdmin(playerid)) //This
if(GetPlayerVehicleAccess(playerid, qid) != 2 && !IsPlayerAdmin(playerid)) //Should be like this
EDIT: Dont do double posting.