14.11.2013, 15:36
Quote:
Hmm won't it happen to every vehicle then?
If I steal some vehicle and I dump it, then steal another vehicle won't I get a wanted level then?.. Because I just want it if you steal a vehicle you get wanted and then when you enter it again I don't want to get a wanted level again.. (Like it is in singleplayer) You are allowed to take same car again after you stole it if you have it for a while.. Do you know how they have done on other servers? |
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(vParked[vehicleid] == 1)
return vParked[vehicleid] = 0, SetPlayerWantedLevel(playerid, 1);
if(GetPlayerWantedLevel(playerid) >= 1 && vParked[vehicleid] == 1) return 0;
return 1;
}