Prototype base - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Prototype base (
/showthread.php?tid=665126)
Prototype base -
xRadical3 - 23.03.2019
How to create the map icon and pickup on prototype vehicle?
Like this:
https://m.imgur.com/a/QxAIu98
Re: Prototype base -
SymonClash - 23.03.2019
CreateDynamicMapIcon
Create3DTextLabel - Attach3DTextLabelToVehicle
Re: Prototype base -
xRadical3 - 23.03.2019
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?
Re: Prototype base -
xRadical3 - 23.03.2019
Anyone?
Re: Prototype base -
ratxrat - 26.03.2019
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?
Re: Prototype base -
Ksenon - 26.03.2019
https://sampwiki.blast.hk/wiki/SetVehicleParamsForPlayer
Set the 'objective'