09.09.2009, 10:33
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?
|
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
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


