SA-MP Forums Archive
[Help]pName - 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: [Help]pName (/showthread.php?tid=68364)



[Help]pName - tony_fitto - 09.03.2009

Hey i need some help!
When i conect to some server with out a last name exampel First_Lastname then i cant conect its a bad name
how can i do it on my server and is it possible or is it a bug ?


Re: [Help]pName - saiberfun - 09.03.2009

then they r rp servers where u need to register on the forum i guess


Re: [Help]pName - tony_fitto - 09.03.2009

Quote:
Originally Posted by saiberfun
then they r rp servers where u need to register on the forum i guess
Okej that sucks



Re: [Help]pName - MenaceX^ - 09.03.2009

I hope that is what you want.. I didn't really understand your request.
pawn Код:
//OnPlayerConnect
  new n[24];
  GetPlayerName(playerid,n,24);
  new rpname=strfind(n, "_", true);
  if(rpname==-1)
  {
    SendClientMessage(playerid,COLOR,"Text");
    return 1;
  }