The new /lock and /unlock cmd
#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


Messages In This Thread
The new /lock and /unlock cmd - by Erkan - 17.10.2009, 23:55
Re: The new /lock and /unlock cmd - by Gergo1352 - 18.10.2009, 00:17
Re: The new /lock and /unlock cmd - by Claude_Speed - 18.10.2009, 03:11

Forum Jump:


Users browsing this thread: 1 Guest(s)