Pickup to vehicle
#1

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!
Reply
#2

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).
Reply
#3

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!
Reply
#4

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

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

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 
Reply
#6

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); 
Reply
#7

Anybody?
Reply
#8

Help please
Reply
#9

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.
Reply
#10

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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)