22.03.2012, 02:37
At top of script
Under Gamemodeint
Код:
new Taxi1;
Код:
Taxi1 = CreateVehicle( * Car Cordinates *
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER) { new vid = GetPlayerVehicleID(playerid); if(vid == Taxi1 && PInfo[playerid][JOB] != 1) // Change *Taxi* to Car Id and Pinfo into your playervariables { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREY, "This car belongs to Fort Carson News."); } return 1; } }