29.12.2010, 14:44
Just use:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(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);
}
}
return 1;
}