CMD:slap(playerid,params[]){ ShowPlayerDialog(playerid, //blahblahblah}public OnDialogResponse(//more blah){ if(dialogid == DIALOG_BLAH) { new id = GetPlayerIdFromName(inputtext); Slap(id);