Car spawner and money bag bug
#2

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) ...
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)