29.12.2010, 18:02
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { if(GetPlayerVehicleID(vehicleid) == bmx1||bmx2||bmx3) { if(postjob[playerid] == 0) { SendClientMessage(playerid, COLOR_DARKORANGE, "You need to start the post job /postjob"); new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); SetPlayerPos(playerid, slx, sly, slz+1); } } else { //put the code for normal vehicles here something like above } return 1; }