07.05.2017, 07:02
Quote:
C:\Users\Ali Computer\Desktop\0.3.7\filterscripts\Adminsmy.pwn( 59) : warning 209: function "cmd_kick" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase |
PHP код:
CMD:kick(playerid, params[])
{
new id;
if (sscanf(params, "u", id)) return SendClientMessage(playerid,-1, "usage: /kick <id>");
if( pinfo[playerid][adminlevel] += 1 )
{
Kick(id);
}
else return SendClientMessage (playerid, -1, "you dont have permission!");
return 1;
}