SA-MP Forums Archive
see vehicles OnPlayerRequestClass ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: see vehicles OnPlayerRequestClass ? (/showthread.php?tid=351947)



see vehicles OnPlayerRequestClass ? - park4bmx - 17.06.2012

before any of you post i have to say
that yes i tried setting the player + the vehicles Interior + Vertual Wolrd but dont work.

What i also found out is that after the player spawns and i run the exact same code you can see teh vehicles.
so is like your not allowed to see vehicles under OnPlayerRequestClass


Re: see vehicles OnPlayerRequestClass ? - ViniBorn - 17.06.2012

From what I know, is not even possible.


Re: see vehicles OnPlayerRequestClass ? - park4bmx - 17.06.2012

i had a Derby server and i done this in there it worked but sinc 0.3e i think is removed ?
i dont know :X


Re: see vehicles OnPlayerRequestClass ? - ViniBorn - 17.06.2012

Some time ago I saw a topic with the same problem.

- I didn't find it


Re: see vehicles OnPlayerRequestClass ? - Patrik356b - 17.06.2012

It seems you can not stream vehicles in the default class selection. (Seen this issue in other topics)

However, by making a custom class select, you will be able to have vehicles in it.


Re: see vehicles OnPlayerRequestClass ? - Kyle - 17.06.2012

Each time they go onto the class selection put the player in each vehicle as passenger then below set their position.

Once they spawn set the variable to 0 so when they go back on class if the variable is 0 0 put them in cars.

So atleast then if you go on class to next skin it don't put you in the cars everytime, only if you spawn then reclass.


Re: see vehicles OnPlayerRequestClass ? - Kar - 17.06.2012

Quote:
Originally Posted by KyleSmith
Посмотреть сообщение
Each time they go onto the class selection put the player in each vehicle as passenger then below set their position.

Once they spawn set the variable to 0 so when they go back on class if the variable is 0 0 put them in cars.

So atleast then if you go on class to next skin it don't put you in the cars everytime, only if you spawn then reclass.
Doesn't have to be passenger, as I use PutPlayerInVehicle(playerid, Current_Vehicle[playerid], 0); and it works FINE.


Re: see vehicles OnPlayerRequestClass ? - Kyle - 17.06.2012

Quote:
Originally Posted by Kar
Посмотреть сообщение
Doesn't have to be passenger, as I use PutPlayerInVehicle(playerid, Current_Vehicle[playerid], 0); and it works FINE.
It only makes the radio come on in which people don't want...


Re: see vehicles OnPlayerRequestClass ? - WagnerPM - 17.06.2012

@Edit deletes