need help in in name format - 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: need help in in name format (
/showthread.php?tid=165464)
need help in in name format -
OmarEco - 04.08.2010
i saw in some servers like 190.102.215.134:7777 name format is name_name how this
Re: need help in in name format -
OmarEco - 05.08.2010
note : i try wiki but can't understand
https://sampwiki.blast.hk/wiki/File_Functions
Re: need help in in name format -
Kitten - 05.08.2010
so what your saying like a rp name?
Re: need help in in name format -
akistze - 05.08.2010
Код:
new plname[MAX_PLAYER_NAME];
new namestring = strfind(plname, "_", true);
if(namestring == -1)
{
Kick(playerid);
return 1;
}
add this under public OnPlayerConnect(playerid)
Re: need help in in name format -
OmarEco - 05.08.2010
note : i want player join to server his name = name_SERVername if his name = name change it to the name = name_server name note this used changenme command right
and don't want to kick
Re: need help in in name format -
OmarEco - 05.08.2010
thanks for pawn it's help me i used SetPlayerName