Question: Change Player[1] to Player(1)
- Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk
)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3
)
+--- Forum: General (
https://sampforum.blast.hk/forumdisplay.php?fid=13
)
+--- Thread: Question: Change Player[1] to Player(1) (
/showthread.php?tid=491279
)
Question: Change Player[1] to Player(1) -
DerickClark
- 30.01.2014
Anyone khow how to Nametag, change id , Player[1] to Player(1) ,
https://sampwiki.blast.hk/wroot/images2/1/13/Afkicon.png
Re: Question: Change Player[1] to Player(1) -
AlonzoTorres
- 30.01.2014
Quote:
SetPlayerName(playerid, str_replace("X", playerid, "Player(X)"));
Perhaps this is what you're looking for. str_replace is part of this include,
https://sampforum.blast.hk/showthread.php?tid=85697
Re: Question: Change Player[1] to Player(1) -
DerickClark
- 30.01.2014
What you mean replace str?
I replace ShowNameTags(1);?