Posts: 414
Threads: 93
Joined: Dec 2010
Quote:
Originally Posted by tyler12
pawn Код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger) { if(!ispassenger) { if(IsVehicleCopCar(vehicleid) && RpPlayerInfo[playerid][pFaction] == 0) { ClearAnimations(playerid); SendClientMessage(playerid,-1,"Vehicle locked."); } } return 1; }
|
Doesn't work, It lock's all vehicles if the player isn't a cop.