Need help about player Icons
#1

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:
Reply
#2

It is quite simple since this function was added: https://sampwiki.blast.hk/wiki/LimitPlayerMarkerRadius
Just add it somewhere in OnGamemodeInit()
Reply
#3

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.
Reply
#4

There already is a OnGameModeInit somewhere in your script. Search that one and add the line there.
Reply
#5

i found it but which line you are talking about this ?? LimitPlayerMarkerRadius(100.0);
Reply
#6

help please
Reply
#7

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.
Reply
#8

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 )
Reply
#9

Yes this line:
LimitPlayerMarkerRadius(100.0);
Add this somewhere in your OnGameModeInit() that you found in the code.
Reply
#10

when i try to add

Quote:

LimitPlayerMarkerRadius(100.0);

after

Quote:

public OnGameModeInit()

my pawno software crashs
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)