Prototype base
#1

How to create the map icon and pickup on prototype vehicle?

Like this:
https://m.imgur.com/a/QxAIu98
Reply
#2

CreateDynamicMapIcon
Create3DTextLabel - Attach3DTextLabelToVehicle
Reply
#3

How to attach dynamic map icon to vehicle? :\
pawn Code:
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);
Did you see the photo?
Reply
#4

Anyone?
Reply
#5

Code:
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;


}
like that?
Reply
#6

https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer

Set the 'objective'
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)