Need help about player Icons - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need help about player Icons (
/showthread.php?tid=261273)
Need help about player Icons -
lord-lara - 12.06.2011
hello i'm using Ravens GM tried to add more things on it help me please i want to make player icons visible for player who near you only not all around San Andreas
Exemple:
Re: Need help about player Icons -
Mauzen - 12.06.2011
It is quite simple since this function was added:
https://sampwiki.blast.hk/wiki/LimitPlayerMarkerRadius
Just add it somewhere in OnGamemodeInit()
Re: Need help about player Icons -
lord-lara - 12.06.2011
thats what i got when i added this code
public OnGameModeInit()
{
LimitPlayerMarkerRadius(100.0);
}
somewhere as you said
C:\Documents and Settings\Ghost\Mes documents\My Games\GorzianaRPG\Gorziana RPG\gamemodes\larp.pwn(17950) : warning 209: function "Streamer_OnGameModeInit" should return a value
C:\Documents and Settings\Ghost\Mes documents\My Games\GorzianaRPG\Gorziana RPG\gamemodes\larp.pwn(20594) : error 021: symbol already defined: "Streamer_OnGameModeInit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Need help about player Icons -
Mauzen - 12.06.2011
There already is a OnGameModeInit somewhere in your script. Search that one and add the line there.
Re: Need help about player Icons -
lord-lara - 12.06.2011
i found it but which line you are talking about this ?? LimitPlayerMarkerRadius(100.0);
Re: Need help about player Icons -
lord-lara - 13.06.2011
help please
Re: Need help about player Icons -
ricardo178 - 13.06.2011
I am not sure if you need to define or un-define.
I think that you have this function already there, and you need to remove it, anyway, don't use raven's. Too bugged and old script type.
Re: Need help about player Icons -
Gazmull - 13.06.2011
It's better to create your own game mode than editing someone's
(i don't force you to do this but if you want
)
Re: Need help about player Icons -
Mauzen - 13.06.2011
Yes this line:
LimitPlayerMarkerRadius(100.0);
Add this somewhere in your OnGameModeInit() that you found in the code.
Re: Need help about player Icons -
lord-lara - 26.06.2011
when i try to add
Quote:
LimitPlayerMarkerRadius(100.0);
|
after
my pawno software crashs