[HELP]Double TEXT JOIN!!
#8

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Solved:

Код:
public OnPlayerConnect(playerid)
{
    // Add this on the bottom of OnPlayerConnect to prevent bugs.
    // Examle:
    // Code...
    // Code...
    // This code:
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    if(strcmp(pname, "kuluk", true) == 0)
    {
        format(string, sizeof(string), "Server Owner %s Has Joined The Server!",pname);
        SendClientMessageToAll(COLOR_BLUE, string);
        return 0;
    }
    else
    {
        format(string, sizeof(string), "%s {6600FF}Has Joined The Server!",pname);
        SendClientMessageToAll(COLOR_WHITE, string);
        return 1;
    }
    return 1;
}
when im tryng to compile it and it say warning unreacable code at down of the return 1
Reply


Messages In This Thread
[SOLVED]Double TEXT JOIN!! - by AnonymouseSAMP - 10.12.2013, 05:43
Re: [HELP]Double TEXT JOIN!! - by SickAttack - 10.12.2013, 05:55
Re: [HELP]Double TEXT JOIN!! - by AnonymouseSAMP - 10.12.2013, 05:56
Re: [HELP]Double TEXT JOIN!! - by AnonymouseSAMP - 10.12.2013, 06:40
Re: [HELP]Double TEXT JOIN!! - by SickAttack - 10.12.2013, 06:42
Re: [HELP]Double TEXT JOIN!! - by AnonymouseSAMP - 10.12.2013, 06:47
Re: [HELP]Double TEXT JOIN!! - by SickAttack - 10.12.2013, 06:51
Re: [HELP]Double TEXT JOIN!! - by AnonymouseSAMP - 10.12.2013, 06:59
Re: [HELP]Double TEXT JOIN!! - by AiRaLoKa - 10.12.2013, 07:03
Re: [HELP]Double TEXT JOIN!! - by SickAttack - 10.12.2013, 07:04

Forum Jump:


Users browsing this thread: 1 Guest(s)