SA-MP Forums Archive
Help rep+ - 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)
+--- Thread: Help rep+ (/showthread.php?tid=541673)



Help rep+ - MasonSFW - 13.10.2014

How i can say playerid = player name ?
like this example if ID4: Pepe

format = Hello id4 : Hello Pepe

What i should do on OnPlayerText?


Re: Help rep+ - Stinged - 13.10.2014

Use strfind and save the pos it returns.
Then check if what's next to that pos is a number, and check if the playerid is connect.
Replace that with the name.


Re: Help rep+ - MasonSFW - 13.10.2014

You can make that code ?


Re: Help rep+ - Stinged - 13.10.2014

No, this is scripting help, not scripts request.
You asked "How can i...", and I told you how.


Re: Help rep+ - YanLanger - 13.10.2014

what do you mean