25.09.2015, 17:05
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:
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) ...
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);

