PDA

View Full Version : CreateDynamicPickup with vehicles


Juand
04/07/2017, 09:33 AM
Hey guys, I was wondering if there was a way to create a dynamic pickup vehicle? As an example, you can do this:
CreateDynamicPickup(2267, 1,x, y, z, GetPlayerVirtualWorld(playerid));
by doing that you will create an object (rotating on itself), because it's actually an object, can you do the same but with cars? for example:
CreateDynamicPickup(466, 1,x, y, z, GetPlayerVirtualWorld(playerid));
I already tried it, but it won't work, regards.

DonaldDuck
04/07/2017, 10:31 AM
Try this Link (http://forum.sa-mp.com/showthread.php?p=3897638#post3897638)

SpaceX
04/07/2017, 10:57 AM
What do you mean by vehicle pickup?

eg:
1. You're in a car and you go through a pickup, it gives repairs/gives you nitrous,

OR

2. You enter a pickup and gives you a new car altogether?

Beryllium
04/07/2017, 12:26 PM
I even can't understand anything.

Juand
04/07/2017, 06:50 PM
What do you mean by vehicle pickup?

eg:
1. You're in a car and you go through a pickup, it gives repairs/gives you nitrous,

OR

2. You enter a pickup and gives you a new car altogether?


Sorry, for "vehicle pickup" I meant ... You can create a pickup as long as the ID is an object, like: the object ID 2242 is a chair (For example) If you create a pickup with the ID 2242 It will show the chair instead of showing for example the tipical info pickup (ID 1239), so instead of the chair I want to show a vehicle... I think it's not possible because a car is not an object in sa-mp, and... In order to create a vehicle on sa-mp you have to use createvehicle... The question is... Is there a way to do what I want to do?