How to create Map icons -
Santox14 - 04.11.2011
hi i show you how to create "Icons" on the Mini Map.
We will create the "Icons" with a Streamer , its much easier as
Streamer Download :
https://sampforum.blast.hk/showthread.php?tid=102865
First we need to add "plugins" in our Server.cfg
Example:
echo Executing Server Config...
lanmode 0
rcon_password test
maxplayers 32
port 7777
hostname SA-MP 0.3 Server
gamemode0 Crimestreetz 1
filterscripts iAnims
announce 0
plugins streamer
<----- [You need to add this]
query 1
weburl
www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 1
logtimeformat [%H:%M:%S]
You need to create a new folder in your SA:MP Server folder you need to name it "plugins" and put the Streamer.dll and Streamer.so files in it.
Okay if you got that we can start
Start your Server or SA:MP Debug and go to the Position where you want your map Icon! i take CJ's house now
CJ's house = 2493.9509,-1689.5286,13.5255
X Y Z
Okay on the Top of our Script we need the "Streamer" Include :
Okay now go to:
pawn Code:
public OnGameModeInit()
{
return 1;
}
Okay now add this unde OnGameModeInit:
pawn Code:
CreateDynamicMapIcon(2493.9509,-1689.5286,13.5255, 15, -1, -1, -1, -1, 100);
return 1;
the "100" means how for away you can see the Icon and the 2493.9509,-1689.5286,13.5255 are the coordinates for your Icon and the "15" is the Icon for example CJ Icon :
https://sampwiki.blast.hk/wiki/MapIcons
Hope this will help to Create Icons!
Re: How to create Map icons -
sansko - 04.11.2011
it says file or function not found, now what?
Re: How to create Map icons -
=WoR=G4M3Ov3r - 04.11.2011
Quote:
Originally Posted by sansko
it says file or function not found, now what?
|
On which line does it give you that ?
Re: How to create Map icons -
System64 - 04.11.2011
Quote:
Originally Posted by sansko
it says file or function not found, now what?
|
You need incognito's stremaer plugin, do you have it?
Re: How to create Map icons -
Kostas' - 04.11.2011
If you don't have it, download it from
here!
Re: How to create Map icons -
=WoR=G4M3Ov3r - 04.11.2011
Quote:
Originally Posted by System64
You need incognito's stremaer plugin, do you have it?
|
He said File or Function not found, if he didn't have streamer, it would probably say "cannot read from file", unless he hasn't included streamer, and is automatically using CreateDynamicMapIcon.
Re: How to create Map icons -
sansko - 04.11.2011
Thats my point i knew i needed it but it wasn't explained where to download. annoying for newer players
Re: How to create Map icons -
=WoR=G4M3Ov3r - 04.11.2011
Quote:
Originally Posted by sansko
Thats my point i knew i needed it but it wasn't explained where to download. annoying for newer players
|
Quote:
Originally Posted by Santox14
hi i show you how to create "Icons" on the Mini Map.
We will create the "Icons" with a Streamer , its much easier as
First we need to add " plugins" in our Server.cfg
Example:
echo Executing Server Config...
lanmode 0
rcon_password test
maxplayers 32
port 7777
hostname SA-MP 0.3 Server
gamemode0 Crimestreetz 1
filterscripts iAnims
announce 0
plugins streamer <----- [You need to add this]
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 1
logtimeformat [%H:%M:%S]
You need to create a new folder in your SA:MP Server folder you need to name it "plugins" and put the Streamer.dll and Streamer.so files in it.
Okay if you got that we can start
Start your Server or SA:MP Debug and go to the Position where you want your map Icon! i take CJ's house now
CJ's house = 2493.9509,-1689.5286,13.5255
X Y Z
Okay on the Top of our Script we need the " Streamer" Include :
pawn Code:
#include <[SIZE="5"]streamer[/SIZE]>
Okay now go to:
pawn Code:
public OnGameModeInit() { return 1; }
Okay now add this unde OnGameModeInit:
pawn Code:
CreateDynamicMapIcon(2493.9509,-1689.5286,13.5255, 15, -1, -1, -1, -1, 100); return 1;
the "100" means how for away you can see the Icon and the 2493.9509,-1689.5286,13.5255 are the coordinates for your Icon and the "15" is the Icon for example CJ Icon : https://sampwiki.blast.hk/wiki/MapIcons
Hope this will help to Create Icons!
|
Its not his fault you need glasses.
Re: How to create Map icons -
sansko - 04.11.2011
He only says i need it, i see nowhere where i can find it
Re: How to create Map icons -
Hellman92 - 04.11.2011
Quote:
Originally Posted by sansko
it says file or function not found, now what?
|
or use this to add map icons
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon