17.01.2011, 02:49
I have a dialog that shows up when you click a player that lists several admin functions. Under OnDialogResponse, I want to be able to execute commands and use the clickedplayerid as a parameter. For example
except replacing params with the clickedplayerid. If there is a better way of doing this, let me know but this appears to be the most simple. Thanks
pawn Код:
//Dialog Response
switch(listitem)
{
case 0:
{
return cmd_kick(playerid, params);