[HELP]: Lock And Unlock
#1

hello guys all is know how to make lock and unlock commands but i was to sau when i make it i go in server i try to do it you know

/lock it lock and all right but when someone from other play come to in the car its can rob it from me and go what i need when the car is locked then others can enter it! please help!
Reply
#2

are you looping the lock? if not try to do it and it will lock for every player
Reply
#3

You should also lock it for the streaming in vehicle.

pawn Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
    if(VehicleInfo[vehicleid][Locked] == 1) SetVehicleParamsForPlayer(vehicleid,forplayerid,0,1);
    else SetVehicleParamsForPlayer(vehicleid,forplayerid,0,0);
    return 1;
}
Edit it for your own script
Reply
#4

not like what you do Joch what i need when someone else want to try to enter the car i lock it's cant enter it!! send him text Car Locked thats all!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)