23.03.2015, 19:51
Here are the codes
Код:
incar[playerid] = true; TeleportTime[playerid] = 10; GetVehiclePos(vehicleid, ReadPlayerPosition[playerid][ReadX], ReadPlayerPosition[playerid][ReadY], ReadPlayerPosition[playerid][ReadZ]); if(vehicleid >=1 && vehicleid <68) { if(vehicleid ==PlayerInfo[playerid][Housekey] || (ispassenger == 1)){} else { TogglePlayerControllable(playerid,0); SetTimerEx("UnfreezeTime", 10, false, "d", playerid); SendClientMessage(playerid,-1," You have no permission to drive this car. Rent a room at the owner's house first!"); } }