Newbie need some help with his scripts
#6

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
pawn Код:
CMD:ban(playerid, params[])
{
    new name[MAX_PLAYER_NAME+1], pname[MAX_PLAYER_NAME + 1], string[24+MAX_PLAYER_NAME+1];
    new id, reason[126];
    if (sscanf(params, "us[126]", id, reason)) return SendClientMessage (playerid, -1, "Usage: /ban [ID] [reason]");
    GetPlayerName(playerid, name, sizeof(name));
        GetPlayerName(id, pname, sizeof(pname));
    format(string, sizeof(string), "%s(%d) was banned from the server by %s(%d). Reason: %s .", pname, id, name, playerid, reason);
    SendClientMessageToAll(RED, string);
    Ban(id);
    return 1;
}
Still the same ....

It shows "Steven_Colt(0) was banned from the server by Ste" and thats all . Don't know what happen to the scripts .
Reply


Messages In This Thread
Newbie need some help with his scripts - by Zex Tan - 24.11.2012, 01:03
Re: Newbie need some help with his scripts - by SwisherSweet - 24.11.2012, 01:36
Respuesta: Newbie need some help with his scripts - by WCrimson - 24.11.2012, 02:35
Re: Newbie need some help with his scripts - by Zex Tan - 24.11.2012, 02:43
Re: Newbie need some help with his scripts - by [HK]Ryder[AN] - 24.11.2012, 03:45
Re: Newbie need some help with his scripts - by Zex Tan - 24.11.2012, 04:42
Re: Newbie need some help with his scripts - by Zex Tan - 24.11.2012, 04:44
Re: Newbie need some help with his scripts - by Ryox175 - 24.11.2012, 04:45
Re: Newbie need some help with his scripts - by Zex Tan - 24.11.2012, 04:51
Re: Newbie need some help with his scripts - by Ryox175 - 24.11.2012, 05:17

Forum Jump:


Users browsing this thread: 1 Guest(s)