// Declare ID's new LVPoliceID = AddStaticVehicle(596,x,y,z,a,0,1); // Mt. Chiliad Copcar LA new SFPoliceID = AddStaticVehicle(597,x,y,z,a,0,1); // Mt. Chiliad Copcar SF new LSPoliceID = AddStaticVehicle(598,x,y,z,a,0,1); // Mt. Chiliad Copcar VG // If player steps in the copcar, warp him to LV, SF or LS public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate==PLAYER_STATE_DRIVER) { if(GetPlayerVehicleId(playerid)== LVPoliceID) { SetPlayerPos(playerid,x,y,z); } else if(GetPlayerVehicleId(playerid)== SFPoliceID) { SetPlayerPos(playerid,x,y,z); } else(GetPlayerVehicleId(playerid)== LSPoliceID) { SetPlayerPos(playerid,x,y,z); } } return 1; } // Do i have to declare the following, or is above enough? AddStaticVehicle(596,x,y,z,a,0,1); // Mt. Chiliad Copcar LA AddStaticVehicle(597,x,y,z,a,0,1); // Mt. Chiliad Copcar SF AddStaticVehicle(598,x,y,z,a,0,1); // Mt. Chiliad Copcar VG