Lock Command Doesnt Work?
#2

it should work, you maybe forgot to write stuff OnPlayerEnterVehicle
write something like this:
pawn Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(ispassenger == 0)
    {
if locked
{
GetPlayerPos(playerid,Float:LocX,Float:LocY,Float:LocZ);
            SetPlayerPos(playerid,Float:LocX,Float:LocY,Float:LocZ);
            SendClientMessage(playerid,COLOR_GREY,"( ! ) This vehicle is locked by the owner !");
}
}
}return 1;
}
Reply


Messages In This Thread
Lock Command Doesnt Work? - by Nuke547 - 29.01.2012, 04:58
Re: Lock Command Doesnt Work? - by mineralo - 29.01.2012, 05:50

Forum Jump:


Users browsing this thread: