SA-MP Forums Archive
strlen in two line ! - 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: strlen in two line ! (/showthread.php?tid=338579)



strlen in two line ! - lonako45 - 30.04.2012

How I do strlen in two line ?
PHP код:
  if(!strlen(tmp)) return SendClientMessage(playeridyellow"Admins: /Activity [Start] [End] [Change] [GiveMoney] [TeleportsClose] [OpenTeleports] Players: [Quit] [CHeck] [Join] :цешъ щйоещ"); 
insteat of I want this:
Admins: XXX XXX XXX XX XXX XXX
Players: XXX XXX XX

How I do that?


Re: strlen in two line ! - Jack_Leslie - 30.04.2012

pawn Код:
if(!strlen(tmp))
{
    SendClientMessage(playerid, -1, "Message 1");
    SendClientMessage(playerid, -1, "Message 2");
    return 1;
}



Re: strlen in two line ! - lonako45 - 30.04.2012

TNX !!!