Quote:
Originally Posted by ShihabSoft
Just add a return 1; to the end of the function, just like shown below.
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;
}
|
No I UnderStand Its Compile and No warning Just Tell me How to add My filter Script On My gamemode Grandlac1