Car spawner and money bag bug
#4

Quote:
Originally Posted by Aly
Посмотреть сообщение
When is the pickup "MoneyBagPickup" created?

As for the car export system, here are some function from Incognito's streamer to help you with your map icon:
Код:
native STREAMER_TAG_MAP_ICON CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_MAP_ICON_SD, style = MAPICON_LOCAL);
native DestroyDynamicMapIcon(STREAMER_TAG_MAP_ICON iconid);
native IsValidDynamicMapIcon(STREAMER_TAG_MAP_ICON iconid);
And to check if that's the same care that you spawned you can save its ID into a variable, like SpawnVeh = vehicleid; or if you want to spawn multiple vehicles you can make an array: new SpawnVeh[2]; SpawnVeh[0] = vehicleid; .And when he enters the CP you just check: if(GetPlayerVehicleID(playerid) == SpawnVeh) ...
And aly what if i dont spawn a car i just use a random server car and tell them to take it to the export area... So how will i make it so that it chooses a random car from the server every 1hr to be exported...Btw i understand the rest just need to get how to choose the random car clear

Quote:
Originally Posted by Vince123
Посмотреть сообщение
This is the thing causing you the error. Try removing it, and see.
Vince im sorry man that didnt work
Reply


Messages In This Thread
Car spawner and money bag bug - by 1fret - 25.09.2015, 16:43
Re: Car spawner and money bag bug - by Aly - 25.09.2015, 17:05
Re: Car spawner and money bag bug - by Vince123 - 25.09.2015, 17:06
Re: Car spawner and money bag bug - by 1fret - 25.09.2015, 17:49
Re: Car spawner and money bag bug - by Aly - 25.09.2015, 17:55
Re: Car spawner and money bag bug - by 1fret - 25.09.2015, 18:12
Re: Car spawner and money bag bug - by Aly - 25.09.2015, 18:32

Forum Jump:


Users browsing this thread: 1 Guest(s)