now can i make an lock command?
#5

Quote:
Originally Posted by Assyria
Or much shorter:
Код:
 	if (strcmp("/lock", cmdtext, true, 10) == 0)
  {
    if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xAA0000AA,"You are not in vehicle!");
    {
      SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),playerid,0,1);
    }
    return 1;
  }
Even if you shouldn't need OnVehicleStreamedIn this will fail!
Reply


Messages In This Thread
now can i make an lock command? - by KennYthegod - 20.04.2010, 17:12
Re: now can i make an lock command? - by boelie - 20.04.2010, 17:21
Re: now can i make an lock command? - by Assyria - 20.04.2010, 17:23
Re: now can i make an lock command? - by boelie - 20.04.2010, 17:26
Re: now can i make an lock command? - by RyDeR` - 20.04.2010, 17:35

Forum Jump:


Users browsing this thread: 1 Guest(s)