pawn Код:
if(dialogid == 22) {i
if(!response) return SendClientMessage(playerid, 0xCC0000FF, "INFORMATION : You clicked Cancel");
switch(listitem) {
case 0:
{
SetPlayerHealth(playerid, 99999.0);
SetTimerEx("SpawnKill", 15000, false, "i", playerid);
SetTimerEx("Pro", 15000, 0, "i");
TextDrawShowForPlayer(playerid,Textdraw0);
}
case 1:
{
SetPlayerHealth(playerid, 100.0);
SetTimerEx("UnPro", 7000, 0, "i");
TextDrawShowForPlayer(playerid,Textdraw1);
}
}
return 1;
}