29.12.2010, 14:40
Hy guys.
I have a little problem
I want that you only can't join the 3 bmxs. but when I put this in I can't enter any car anymore.
How to fix?
I have a little problem
pawn Код:
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);
}
}
return 1;
}
How to fix?