SA-MP Forums Archive
ShowPlayerNameTagForPlayer Problems - 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: ShowPlayerNameTagForPlayer Problems (/showthread.php?tid=65608)



ShowPlayerNameTagForPlayer Problems - Laurentt - 14.02.2009

Problem Fixed


Re: ShowPlayerNameTagForPlayer Problems - Joe Staff - 14.02.2009

too many '}' at the end

remove one from above 'return 1;'

also the 'else if(strcmp' you can remove the 'else', that's not necessary.


Re: ShowPlayerNameTagForPlayer Problems - Laurentt - 14.02.2009

Quote:
Originally Posted by SilentHuntR
too many '}' at the end

remove one from above 'return 1;'

also the 'else if(strcmp' you can remove the 'else', that's not necessary.
the function works fine but the name tag doest disapear

Код:
 ShowPlayerNameTagForPlayer(playerid, showplayerid, show)
playerid	Player who will see the results of this function
showplayerid	Player whose name tag will be shown or hidden
show	1-show name tag, 0-hide name tag
This writes on Wiki so i'll do what you said but i dont think that would fix my problem


Re: ShowPlayerNameTagForPlayer Problems - Laurentt - 14.02.2009

Eh .. should i use another function instead of : ShowPlayerNameTagForPlayer ??