please help - 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: please help (
/showthread.php?tid=581321)
please help -
itachi - 12.07.2015
Hello please I help with
title before the name
If player spawn,so player nick convert to [Player RP]NICK... ([PLAYER RP]Rocky)
Thank you
Re : please help -
KillerDVX - 12.07.2015
Didn't understand well..
Re: please help -
itachi - 12.07.2015
Sorry I am Czech...
if player Rocky connect to server , so after spawn His name will be [Player]Rocky.
everybody is added after spawn titul before nick [Player]
Re: please help -
Roko_foko - 12.07.2015
there are two usefull functions
SetPlayerName
GetPlayerName
here is a demo:
Код:
new name[1000], new_name[1020];
GetPlayerName(playerid, name, 1000);
format(new_name, sizeof(1020), "[Player]%s", name);
SetPlayerName(playerid, new_name);
insert that OnPlayerConnect callback to check
Re: please help -
itachi - 12.07.2015
thank