Help with ShowNameTags! - 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: Help with ShowNameTags! (
/showthread.php?tid=246443)
Help with ShowNameTags! -
[TD]Torben - 04.04.2011
Hi all,
I've been running Raven's RP for a while, and i wanted to remove all the usernames, so its more rp.
I've been looking for
Код:
ShowNameTags(playerid, i, true);
in the script, but i can't find it.. So i tried adding
Код:
ShowNameTags(playerid, i, false);
. But it says its already defined, However, I can't seem to find it.
Some help would be nice.
Thanks in advance.
Re: Help with ShowNameTags! -
[TD]Torben - 04.04.2011
I honestly can't script, So i have no clue what you just said, So if you could specify it more easily it would be nice! Or do you mean it has to go in an command EG /shownames and then with the function.
Thanks in advance.
Re: Help with ShowNameTags! -
[TD]Torben - 04.04.2011
Bump.
Re: Help with ShowNameTags! -
Mike Garber - 04.04.2011
Press CTRL+F, type ShowNameTags and press Enter.
Re: Help with ShowNameTags! -
Sascha - 04.04.2011
write it into the "OnGameModeInit" callback
Re: Help with ShowNameTags! -
[TD]Torben - 04.04.2011
Quote:
Originally Posted by Mike Garber
Press CTRL+F, type ShowNameTags and press Enter.
|
But it says its already defined, However,
I can't seem to find it.
Quote:
Originally Posted by Sascha
write it into the "OnGameModeInit" callback
|
Tried it, I'm getting:
D:\Program Files\GTA San Andreas\gamemodes\larp.pwn(21867) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Help with ShowNameTags! -
Sascha - 04.04.2011
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
{
the code...
}
Re: Help with ShowNameTags! -
[TD]Torben - 04.04.2011
Says its defined with this:
Код:
SetPDistance(10);
AllowInteriorWeapons(1);
AllowAdminTeleport(0);
//ShowPlayerMarkers(false);