26.11.2011, 12:47
Hey, i have made a dialog, my first time, butt it does'nt work. My code:
he does'nt close/restart. i don't now why.
mathijss
Код:
if(dialogid==700 && response==1)
{
SendRconCommand("gmx");
SendClientMessageToAll(COLOR_RED,"[SERVER]: Herstarten...");
return 1;
}
if(dialogid==701 && response==1)
{
SendRconCommand("exit");
SendClientMessageToAll(COLOR_RED,"[SERVER]: Afsluiten...");
return 1;
}
mathijss


