Locking System
#12

Quote:
Originally Posted by Jason_Larson
Awesome thanks! So if I have more than one LSPD Vehicle, how would I do that? 1 & 2 & 3?
easy
just unlock em all on it
if u dont want to do like
LSPD1
LSPD2 blah in the vehicleparams just make sure like
pawn Код:
OnVehicleStreamIn(vehicle,forplayerid)
{
    for (new v = LSPD1; i < LSPDLast; i++) //loops through the LSPD IDS
    {
      if(LSPD[forplayerid] != 1) // or whatever variable u use to check the LSPD people.
      {
      SetVehicleParamsForPlayer(...);//Lock
      }
    }
}
//make sure that LSPD1 = the first LSPDCar u spawned and LSPDLast is the Last
//and they all need to be spawned in a row
//if there are other cars between them delete them or move them cuz they be effected too
//v = the vehicleid u need to use then
i dunno if this works didnt test it
but i guess it should
there are other ways to only check it for the car that gets streamed in but
this way is easier n i like it better
Reply


Messages In This Thread
Locking System - by Jason_Larson - 08.09.2009, 06:35
Re: Locking System - by woot - 08.09.2009, 08:20
Re: Locking System - by Jason_Larson - 08.09.2009, 18:58
Re: Locking System - by Joe Staff - 08.09.2009, 19:09
Re: Locking System - by Jason_Larson - 08.09.2009, 19:22
Re: Locking System - by dugi - 08.09.2009, 19:25
Re: Locking System - by Jason_Larson - 08.09.2009, 19:28
Re: Locking System - by BlackFoX - 08.09.2009, 19:39
Re: Locking System - by Jason_Larson - 08.09.2009, 19:43
Re: Locking System - by saiberfun - 08.09.2009, 19:58
Re: Locking System - by Jason_Larson - 09.09.2009, 03:48
Re: Locking System - by saiberfun - 09.09.2009, 10:33
Re: Locking System - by Jason_Larson - 09.09.2009, 18:08

Forum Jump:


Users browsing this thread: 1 Guest(s)