06.05.2011, 21:06
Basically I want it to be so when I type in /kick, a (input)dialog pops up where you can type in the id of the person yo want to kick. I know its a bit confusing, but whoeever does it gets a virtual cookie :')
ShowPlayerDialog(playerid, 666,DIALOG_STYLE_INPUT,"Kick","Enter the ID of the person you want to kick","Kick","Cancel");
if(dialogid == 666) {
if(!response) return 1;
new
iReturn = strval(inputtext);
if(IsPlayerConnected(iReturn)) {
Kick(iReturn);
}
}