Error Gamemode
#2

pawn Code:
//-----------------------------------------------------------------------------------------
    TazerAcceso[playerid] = 0;

    ShiftInfo[playerid] = (ShiftInfo[playerid] == false) ? (true) : (true);
    ShiftTimer[playerid] = SetTimerEx("ShiftFunction", 200, true, "e", playerid);

    TextDrawShowForPlayer(playerid, Text:textcl5);
    gPlayerUsingLoopingAnim[playerid] = 0;
    gPlayerAnimLibsPreloaded[playerid] = 0;


    new name[MAX_PLAYER_NAME];
    new string22[100+MAX_PLAYER_NAME];

    new plname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, plname, sizeof(plname));

    new namestring = strfind(plname, "_", true);
    if(namestring == -1)
    {
        SendClientMessage(playerid, COLOR_YELLOW2, "{37F906}INFO:{FFFFFF} Vaseto ime nemoze da se koristi.");
        SendClientMessage(playerid, COLOR_YELLOW2, "{37F906}INFO:{FFFFFF} Vaseto ime mora da bidne Ime_Prezime.");
        SendClientMessage(playerid, COLOR_YELLOW2, "{37F906}INFO:{FFFFFF} Primer: Nick_Wronx.");
        Kick(playerid);
        return 1;
    }
You forgot to place the new statement before string22.
Reply


Messages In This Thread
Error Gamemode - by Sampgamer1 - 06.02.2014, 16:06
Re: Error Gamemode - by BullseyeHawk - 06.02.2014, 16:13
Re: Error Gamemode - by PowerPC603 - 06.02.2014, 16:13
Re: Error Gamemode - by Sampgamer1 - 06.02.2014, 19:42
Re: Error Gamemode - by iZN - 06.02.2014, 19:44
Re: Error Gamemode - by Sampgamer1 - 06.02.2014, 20:03
Re: Error Gamemode - by BullseyeHawk - 06.02.2014, 20:15
Re: Error Gamemode - by iZN - 07.02.2014, 08:16
Re: Error Gamemode - by Sampgamer1 - 07.02.2014, 12:06
Re: Error Gamemode - by Crypto20 - 07.02.2014, 14:35

Forum Jump:


Users browsing this thread: 1 Guest(s)