23.03.2019, 10:55
How to create the map icon and pickup on prototype vehicle?
Like this:
https://m.imgur.com/a/QxAIu98
Like this:
https://m.imgur.com/a/QxAIu98
CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_MAP_ICON_SD, style = MAPICON_LOCAL, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
vehMapIcon(playerid){ new currentveh; currentveh = GetPlayerVehicleID(playerid); new Float:vehx, Float:vehy, Float:vehz; GetVehiclePos(currentveh, vehx, vehy, vehz); CreateDynamicMapIcon(vehx, vehy, vehz, 1, 0, 0, 0, playerid, 100.0); return 1; }