can't save account
#1

hello guys..
i have a problem, why my gamemode can't save account ??
please help me..

Thank you
Reply
#2

Show us the code:
Reply
#3

im sorry
you mean the code when i compile??
Reply
#4

what you type in pawno
Reply
#5

Example:

Let's say u made kill command and it get errors so the code is the command.

Like that:

CMD:kill(playerid, paras[])
{
SetPlayerHealth(playerid, 0);
return 1;
}

So all of that command this is the code. hope u understood
Reply
#6

im sorry, i dontmuch understand(still learn) about script ..
can u expalin it with simple explain please..

when i compile its work, but still can't save account??
Reply
#7

just show use the commands in your .pwn file
Reply
#8

here ..

Код:
CMD:kick(playerid, params[])
{
    if(PlayerInfo[playerid][Admin] < 1)	return  SendClientMessage(playerid, COLOR_RED, "[ERROR]: You do not have permission to access this cmd.");
    new PID;
    new reason[64];
    new str[256];
    if(sscanf(params, "us[64]", PID,reason)) return SendClientMessage(playerid, COLOR_RED, "[ERROR]: Syntax: /kick [playerid] [reason]");
    if(!IsPlayerConnected(PID))	return SendClientMessage(playerid, COLOR_RED, "[ERROR]: Player is not connected.");
    if(playerid == PID)	return SendClientMessage(playerid, COLOR_RED, "[ERROR]: You can't kick yourself.");
	format(str, sizeof(str), "[NOTICE]: '%s' has been kicked by administrator '%s'. Reason: %s ", GetName(PID), GetName(playerid), reason);
    SendClientMessageToAll(COLOR_RED, str);
    Kick(PID);
	return 1;
}
Reply
#9

answer please... i need help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)