28.10.2013, 12:02
works 
that's life
and I want the admin

that's life
and I want the admin
Quote:
if(dialogid == 246) { if(!response) { SendClientMessage(playerid,COLOR_RED,"Close"); } if(response) { if(IsNumeric(inputtext)) { AC_BS_SetPlayerHealth(ChosenPlayer[playerid],strval(inputtext)); format(stri,128,"Admin: %s go Healt %d",pName,strval(inputtext)); SendClientMessage(ChosenPlayer[playerid],COLOR_RED,stri); /*new string2[128];*/ format(stri,128,"Admin %s healt %d",ClickedPlayerName,strval(inputtext)); } else { SendClientMessage(playerid,COLOR_RED,"number"); ShowPlayerDialog(playerid,healthdialog,DIALOG_STYL E_INPUT,"Healt","number:","enter","Close"); } } } |