20.01.2016, 21:28
Meaning if you make a command i use ZCMD as example.
https://sampforum.blast.hk/showthread.php?tid=599091
Code:
CMD:kick(playerid,params[]) { new Targetid; if(!IsPlayerAdmin) return SendClientMessage(playerid, -1, "you are not an RCON admin"); //<--IsPlayerAdmin checks if the player is logged in to rcon. //Proceed command. if(sscanf(params,"u",Targetid)) return SendClientMessage(playerid,-1,"{ff0000}[Error]:{ffffff} /kick [ID]");//Checking the input, u = userid/name so it searches for a match. Kick(Targetid); //Kicking the player id that you have typed in. return 1; //Execute the above code. }