help?how i remove this error?
#1

error:
(1204) : error 004: function "SetPlayerTeamFromClass" is not implemented

error line:
SetTimerEx("KickPlayer",200,false,"d", playerid);
Reply
#2

pawn Код:
public SetPlayerTeamFromClass(playeid, classid)
Show us...
Reply
#3

where i put it

anyone know to remove this error hahaha :P are they scripters

help


unction "SetPlayerTeamFromClass" is not implemented

function "SetPlayerTeamFromClass" is not implemented

how i remove these errors
Reply
#4

Show us more of the code, maybe we can see the problem better.
Reply
#5

Quote:
Originally Posted by MarkenFrank1
Посмотреть сообщение
Show us more of the code, maybe we can see the problem better.
#if LoginTextDraw == false
format(Jstring, sizeof(Jstring),"Nick name \"%s\" registered.\nPlease enter your password to login", GetName(playerid));
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD,"Account Login", Jstring, "Login", "Quit");
#endif
SendClientMessage(playerid,lighterblue,"Nick name is registered!");
SendClientMessage(playerid,red,"Please '/login' access your account");
}
}
if(ForbiddenNamesKick == 1 && IsForbiddenNick(playerid) == 1)
{
format(Jstring, sizeof(Jstring),"{FB0404}Your nick name \"%s\" is in blacklist. please relog\nwith a new nick name", GetName(playerid));
ShowPlayerDialog(playerid, JDIALOGS+45, DIALOG_STYLE_MSGBOX," {FB0404}Forbidden nick", Jstring, "Ok", "");
SetTimerEx("KickPlayer",200,false,"d", playerid);
format(Jstring, sizeof(Jstring),"\"%s\" has been automatically kicked | reason: 'Forbidden Name'", GetName(playerid));
SendToAdmins(orange,Jstring);
WriteToLog(Jstring,"KickLog");
Reply
#6

help me anyone
Reply
#7

Be patient, you will get help eventually.
Reply
#8

plz chelp how to remove this
Reply
#9

Do what is below, what i mean by do is to follow what is below.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerTeamFromClass(playerid,classid);
    // Rest of the code...
}

SetPlayerTeamFromClass(playerid, classid)
{
    if(classid == 0)
    {
            SendClientMessage(playerid, 0xFFFFFFFF, "Skin 0"); // Change this with what you want
    }
        if(classid == 1)
    {
            SendClientMessage(playerid, 0xFFFFFFFF, "Skin 1"); // Change this with what you want
    }
        // Rest of the code...
}


SetTimerEx("KickPlayer",200,false,"d", playerid); // Put this where you want to set the timer

forward KickPlayer(playerid);
public KickPlayer(playerid)
{
    Kick(playerid);
}
Hope it helps you out!
Reply
#10

http://pastebin.com/TH4eU8kZ

sick attack see this and tell me how to fix plz and if you will help me then i will give you +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)