24.05.2012, 14:53
PHP код:
}
}
case 10:
{
switch(listitem)
{
case 0: // Asjad
{
SendClientMessage(playerid,0xFFFFFFAA, " Sa vastasid {AA3333}VALESTI! ");
Kick(playerid);
}
case 1:
{
SendClientMessage(playerid,0xFFFFFFAA, " Sa vastasid {33AA33}ХIETI! ");
SendClientMessage(playerid,0xFFFFFFAA, " Sa lдbisid edukalt meie serveri Rollimдngu testi. ");
ShowPlayerDialog(playerid,999,DIALOG_STYLE_PASSWORD,"Tдhelepanu!","Serverisse sisse logimiseks kirjuta parool {33AA33}siia lahtrisse:","Logi Sisse","Lahku");
}
case 2:
{
SendClientMessage(playerid,0xFFFFFFAA, " Sa vastasid {AA3333}VALESTI! ");
Kick(playerid);
}
case 3:
{
SendClientMessage(playerid,0xFFFFFFAA, " Sa vastasid {AA3333}VALESTI! ");
Kick(playerid);
}
}
}
case 11:
{
switch(listitem)
{
case 0: // Asjad
{
SendClientMessage(playerid,0xFFFFFFAA, " Sa soovisid tankida 25 liitrit bensiini. ");
GivePlayerMoney(playerid,-50);
}
case 1:
{
SendClientMessage(playerid,0xFFFFFFAA, " Sa soovisid tankida 50 liitrit bensiini. ");
GivePlayerMoney(playerid,-100);
}
case 2:
{
SendClientMessage(playerid,0xFFFFFFAA, " Sa soovisid tankida 75 liitrit bensiini. ");
GivePlayerMoney(playerid,-150);
}
case 3:
{
SendClientMessage(playerid,0xFFFFFFAA, " Sa soovisid tankida 100 liitrit bensiini. ");
}
}
}
case 12:
{
switch(999)
{
case 0: // Asjad
{
SendClientMessage(playerid,0xFFFFFFAA, " Meeldivat mдnguelamust Eestimaa Rollimдngu serveris! ");
SetPlayerPos(playerid, 1743.0470,-1862.8025,13.5758);
}
case 1:
{
SendClientMessage(playerid,0xAA3333AA, " Sa tьhistasid registreerimise. ");
Kick(playerid);
}
Can somebody please help me?
Thanks