The new /lock and /unlock cmd
#1

I heard there should be a new /lock and /unlock cmd for 0.3, annyone got the script from it, because the Search engine does not work, so I can't search.
Reply
#2

You just need to reapply SetVehicleParamsForPlayer() at OnVehicleStreamIn().
Reply
#3

Example of Locking All the Vehicles for Everyone:

Код:
public OnVehicleStreamIn(vehicleid, forplayerid)
{
  for(new i = 0; i < MAX_PLAYERS; i++) {
  	if(IsPlayerConnected(i)) {
		SetVehicleParamsForPlayer(vehicleid, i, 0, 1);
		}
	}
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)