SA-MP Forums Archive
Pickup to vehicle - 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: Pickup to vehicle (/showthread.php?tid=662234)



Pickup to vehicle - Kraeror - 26.12.2018

Hello guys! I want to attach pickup to a vehicle like in singleplayer mode! I couldn't find any function for that! Can you tell me can I do it and if I can- how?
Thanks!


Re: Pickup to vehicle - N3mesiS - 26.12.2018

https://sampwiki.blast.hk/wiki/CreatePickup

Код:
The only type of pickup that can be picked up from inside a vehicle is 14 (except for special pickups such as bribes).



Re: Pickup to vehicle - Kraeror - 26.12.2018

Quote:
Originally Posted by N3mesiS
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/CreatePickup

Код:
The only type of pickup that can be picked up from inside a vehicle is 14 (except for special pickups such as bribes).
I don't want to vehicle pick it. I want to attach it to vehicle, read the post again!


Re: Pickup to vehicle - DarkBr - 26.12.2018

objective = 1 (Yellow arrow floating above the vehicle).

Код:
SetVehicleParamsForPlayer(vehicleid, playerid, objective, doorslocked)



Re: Pickup to vehicle - Kraeror - 26.12.2018

Quote:
Originally Posted by DarkBr
Посмотреть сообщение
objective = 1 (Yellow arrow floating above the vehicle).

Код:
SetVehicleParamsForPlayer(vehicleid, playerid, objective, doorslocked)
I can't understand you, can you give me the code to attach the yellow arrow:
PHP код:
pvehicles[0] = AddStaticVehicle(448,2100.3450,-1784.6423,12.9960,344.8412,3,3); // pizzaboy 



Re: Pickup to vehicle - DarkBr - 26.12.2018

Quote:
Originally Posted by Kraeror
Посмотреть сообщение
I can't understand you, can you give me the code to attach the yellow arrow:
PHP код:
pvehicles[0] = AddStaticVehicle(448,2100.3450,-1784.6423,12.9960,344.8412,3,3); // pizzaboy 
PHP код:
SetVehicleParamsForPlayer(pvehicles[0], playerid10); 



Re: Pickup to vehicle - Kraeror - 27.12.2018

Anybody?


Re: Pickup to vehicle - Kraeror - 27.12.2018

Help please


Re: Pickup to vehicle - Logic_ - 27.12.2018

Oh boy, you really deserve a ban for bumping your thread. If you can't wait, then we'll wait for 24 hours before helping you out.


Re: Pickup to vehicle - Kraeror - 27.12.2018

Quote:
Originally Posted by Logic_
Посмотреть сообщение
Oh boy, you really deserve a ban for bumping your thread. If you can't wait, then we'll wait for 24 hours before helping you out.
Why don't you help me instead of criticizing me?