02.04.2011, 02:28
i said under onplayertext
lemme try to explain better
Donya Types: "Hello $ply"
Output - Donya Says: "Hello Calg00ne"
(i will see myself type Hello $ply, but, it will send Hello Calg00ne to everyone else.)
because Calg00ne is the closest player to me, it formats $ply to The closest player to me.
the text parameter i posted above is being used in OnPlayerText(playerid, text[]);
Sorry if i used your name Calg00ne, i just needed an example
so basically, im trying to find all "$ply"'s in a text, and format them all to the closest player. I hope i explained fairly well now.
lemme try to explain better
Donya Types: "Hello $ply"
Output - Donya Says: "Hello Calg00ne"
(i will see myself type Hello $ply, but, it will send Hello Calg00ne to everyone else.)
because Calg00ne is the closest player to me, it formats $ply to The closest player to me.
the text parameter i posted above is being used in OnPlayerText(playerid, text[]);
Sorry if i used your name Calg00ne, i just needed an example
so basically, im trying to find all "$ply"'s in a text, and format them all to the closest player. I hope i explained fairly well now.