Peršokti į turinį
  • ŽAIDIMAI
  • , ŽAIDIMAI
  • ŽAIDIMAI

Ši tema yra neaktyvi. Paskutinis pranešimas šioje temoje buvo prieš 3729 dienas (-ų). Patariame sukurti naują temą, o ne rašyti naują pranešimą.

Už neaktyvių temų prikėlimą galite sulaukti įspėjimo ir pranešimo pašalinimo!

Recommended Posts

Neveikia komanda.Gal galit padėt ir pasakyt kas blogai

 

 

 

 CMD:rangai(playerid, params[])

{
if(zInfo[playerid][dyrikz]==0) return OnPlayerCommandText(playerid, "UnknownCommand");
switch(zInfo[playerid][dyrikz])
{
case 1:
{
mysql_query( "SELECT Rangas1,Rangas2,Rangas3,Rangas4,Rangas5,Rangas6,Rangas7 FROM `rangai` WHERE `KokioDarboRangas` = 'Policija'" );
mysql_store_result( );
new RANGAS1[ 128 ];
new RANGAS2[ 128 ];
new RANGAS3[ 128 ];
new RANGAS4[ 128 ];
new RANGAS5[ 128 ];
new RANGAS6[ 128 ];
new RANGAS7[ 128 ];
new KINTMASISRANGAMS[ 1048 ];
new SAUGOMRANGUS[ 1048 ];
while( mysql_fetch_row_format( KINTMASISRANGAMS ) )
{
   sscanf(KINTMASISRANGAMS,"p<|>s[128]s[128]s[128]s[128]s[128]s[128]s[128]",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7 );
   format( SAUGOMRANGUS,2048,"1.%s\n2.%s\n3.%s\n4.%s\n5.%s\n6.%s\n7.%s\n",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7);
}
mysql_free_result( );
ShowPlayerDialogEx(playerid,RANGAIDIALOG,DIALOG_STYLE_LIST,"{04BAFF}Rangø valdymas",SAUGOMRANGUS,"Gerai","Iðeiti");
}
case 5:
{
mysql_query( "SELECT Rangas1,Rangas2,Rangas3,Rangas4,Rangas5,Rangas6,Rangas7 FROM `rangai` WHERE `KokioDarboRangas` = 'Medikai'" );
mysql_store_result( );
new RANGAS1[ 128 ];
new RANGAS2[ 128 ];
new RANGAS3[ 128 ];
new RANGAS4[ 128 ];
new RANGAS5[ 128 ];
new RANGAS6[ 128 ];
new RANGAS7[ 128 ];
new KINTMASISRANGAMS[ 1048 ];
new SAUGOMRANGUS[ 1048 ];
while( mysql_fetch_row_format( KINTMASISRANGAMS ) )
{
   sscanf(KINTMASISRANGAMS,"p<|>s[128]s[128]s[128]s[128]s[128]s[128]s[128]",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7 );
   format( SAUGOMRANGUS,2048,"1.%s\n2.%s\n3.%s\n4.%s\n5.%s\n6.%s\n7.%s\n",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7);
}
mysql_free_result( );
ShowPlayerDialogEx(playerid,RANGAIDIALOG,DIALOG_STYLE_LIST,"{04BAFF}Rangø valdymas",SAUGOMRANGUS,"Gerai","Iðeiti");
}
case 3:
{
mysql_query( "SELECT Rangas1,Rangas2,Rangas3,Rangas4,Rangas5,Rangas6,Rangas7 FROM `rangai` WHERE `KokioDarboRangas` = 'Mechanikai'" );
mysql_store_result( );
new RANGAS1[ 128 ];
new RANGAS2[ 128 ];
new RANGAS3[ 128 ];
new RANGAS4[ 128 ];
new RANGAS5[ 128 ];
new RANGAS6[ 128 ];
new RANGAS7[ 128 ];
new KINTMASISRANGAMS[ 1048 ];
new SAUGOMRANGUS[ 1048 ];
while( mysql_fetch_row_format( KINTMASISRANGAMS ) )
{
   sscanf(KINTMASISRANGAMS,"p<|>s[128]s[128]s[128]s[128]s[128]s[128]s[128]",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7 );
   format( SAUGOMRANGUS,2048,"1.%s\n2.%s\n3.%s\n4.%s\n5.%s\n6.%s\n7.%s\n",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7);
}
mysql_free_result( );
ShowPlayerDialogEx(playerid,RANGAIDIALOG,DIALOG_STYLE_LIST,"{04BAFF}Rangø valdymas",SAUGOMRANGUS,"Gerai","Iðeiti");
}
case 2:
{
mysql_query( "SELECT Rangas1,Rangas2,Rangas3,Rangas4,Rangas5,Rangas6,Rangas7 FROM `rangai` WHERE `KokioDarboRangas` = 'Taxi'" );
mysql_store_result( );
new RANGAS1[ 128 ];
new RANGAS2[ 128 ];
new RANGAS3[ 128 ];
new RANGAS4[ 128 ];
new RANGAS5[ 128 ];
new RANGAS6[ 128 ];
new RANGAS7[ 128 ];
new KINTMASISRANGAMS[ 1048 ];
new SAUGOMRANGUS[ 1048 ];
while( mysql_fetch_row_format( KINTMASISRANGAMS ) )
{
   sscanf(KINTMASISRANGAMS,"p<|>s[128]s[128]s[128]s[128]s[128]s[128]s[128]",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7 );
   format( SAUGOMRANGUS,2048,"1.%s\n2.%s\n3.%s\n4.%s\n5.%s\n6.%s\n7.%s\n",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7);
}
mysql_free_result( );
ShowPlayerDialogEx(playerid,RANGAIDIALOG,DIALOG_STYLE_LIST,"{04BAFF}Rangø valdymas",SAUGOMRANGUS,"Gerai","Iðeiti");
}
case 6:
{
mysql_query( "SELECT Rangas1,Rangas2,Rangas3,Rangas4,Rangas5,Rangas6,Rangas7 FROM `rangai` WHERE `KokioDarboRangas` = 'Furistai'" );
mysql_store_result( );
new RANGAS1[ 128 ];
new RANGAS2[ 128 ];
new RANGAS3[ 128 ];
new RANGAS4[ 128 ];
new RANGAS5[ 128 ];
new RANGAS6[ 128 ];
new RANGAS7[ 128 ];
new KINTMASISRANGAMS[ 1048 ];
new SAUGOMRANGUS[ 1048 ];
while( mysql_fetch_row_format( KINTMASISRANGAMS ) )
{
   sscanf(KINTMASISRANGAMS,"p<|>s[128]s[128]s[128]s[128]s[128]s[128]s[128]",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7 );
   format( SAUGOMRANGUS,2048,"1.%s\n2.%s\n3.%s\n4.%s\n5.%s\n6.%s\n7.%s\n",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7);
}
mysql_free_result( );
ShowPlayerDialogEx(playerid,RANGAIDIALOG,DIALOG_STYLE_LIST,"{04BAFF}Rangø valdymas",SAUGOMRANGUS,"Gerai","Iðeiti");
}
case 4:
{
mysql_query( "SELECT Rangas1,Rangas2,Rangas3,Rangas4,Rangas5,Rangas6,Rangas7 FROM `rangai` WHERE `KokioDarboRangas` = 'Dyleriai'" );
mysql_store_result( );
new RANGAS1[ 128 ];
new RANGAS2[ 128 ];
new RANGAS3[ 128 ];
new RANGAS4[ 128 ];
new RANGAS5[ 128 ];
new RANGAS6[ 128 ];
new RANGAS7[ 128 ];
new KINTMASISRANGAMS[ 1048 ];
new SAUGOMRANGUS[ 1048 ];
while( mysql_fetch_row_format( KINTMASISRANGAMS ) )
{
   sscanf(KINTMASISRANGAMS,"p<|>s[128]s[128]s[128]s[128]s[128]s[128]s[128]",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7 );
   format( SAUGOMRANGUS,2048,"1.%s\n2.%s\n3.%s\n4.%s\n5.%s\n6.%s\n7.%s\n",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7);
}
mysql_free_result( );
ShowPlayerDialogEx(playerid,RANGAIDIALOG,DIALOG_STYLE_LIST,"{04BAFF}Rangø valdymas",SAUGOMRANGUS,"Gerai","Iðeiti");
}
case 13:
{
mysql_query( "SELECT Rangas1,Rangas2,Rangas3,Rangas4,Rangas5,Rangas6,Rangas7 FROM `rangai` WHERE `KokioDarboRangas` = 'Yardies'" );
mysql_store_result( );
new RANGAS1[ 128 ];
new RANGAS2[ 128 ];
new RANGAS3[ 128 ];
new RANGAS4[ 128 ];
new RANGAS5[ 128 ];
new RANGAS6[ 128 ];
new RANGAS7[ 128 ];
new KINTMASISRANGAMS[ 1048 ];
new SAUGOMRANGUS[ 1048 ];
while( mysql_fetch_row_format( KINTMASISRANGAMS ) )
{
   sscanf(KINTMASISRANGAMS,"p<|>s[128]s[128]s[128]s[128]s[128]s[128]s[128]",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7 );
   format( SAUGOMRANGUS,2048,"1.%s\n2.%s\n3.%s\n4.%s\n5.%s\n6.%s\n7.%s\n",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7);
}
mysql_free_result( );
ShowPlayerDialogEx(playerid,RANGAIDIALOG,DIALOG_STYLE_LIST,"{04BAFF}Rangø valdymas",SAUGOMRANGUS,"Gerai","Iðeiti");
}
case 14:
{
mysql_query( "SELECT Rangas1,Rangas2,Rangas3,Rangas4,Rangas5,Rangas6,Rangas7 FROM `rangai` WHERE `KokioDarboRangas` = 'Corleone'" );
mysql_store_result( );
new RANGAS1[ 128 ];
new RANGAS2[ 128 ];
new RANGAS3[ 128 ];
new RANGAS4[ 128 ];
new RANGAS5[ 128 ];
new RANGAS6[ 128 ];
new RANGAS7[ 128 ];
new KINTMASISRANGAMS[ 1048 ];
new SAUGOMRANGUS[ 1048 ];
while( mysql_fetch_row_format( KINTMASISRANGAMS ) )
{
   sscanf(KINTMASISRANGAMS,"p<|>s[128]s[128]s[128]s[128]s[128]s[128]s[128]",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7 );
   format( SAUGOMRANGUS,2048,"1.%s\n2.%s\n3.%s\n4.%s\n5.%s\n6.%s\n7.%s\n",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7);
}
mysql_free_result( );
ShowPlayerDialogEx(playerid,RANGAIDIALOG,DIALOG_STYLE_LIST,"{04BAFF}Rangø valdymas",SAUGOMRANGUS,"Gerai","Iðeiti");
}
case 15:
{
mysql_query( "SELECT Rangas1,Rangas2,Rangas3,Rangas4,Rangas5,Rangas6,Rangas7 FROM `rangai` WHERE `KokioDarboRangas` = 'Aras'" );
mysql_store_result( );
new RANGAS1[ 128 ];
new RANGAS2[ 128 ];
new RANGAS3[ 128 ];
new RANGAS4[ 128 ];
new RANGAS5[ 128 ];
new RANGAS6[ 128 ];
new RANGAS7[ 128 ];
new KINTMASISRANGAMS[ 1048 ];
new SAUGOMRANGUS[ 1048 ];
while( mysql_fetch_row_format( KINTMASISRANGAMS ) )
{
   sscanf(KINTMASISRANGAMS,"p<|>s[128]s[128]s[128]s[128]s[128]s[128]s[128]",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7 );
   format( SAUGOMRANGUS,2048,"1.%s\n2.%s\n3.%s\n4.%s\n5.%s\n6.%s\n7.%s\n",RANGAS1,RANGAS2,RANGAS3,RANGAS4,RANGAS5,RANGAS6,RANGAS7);
}
mysql_free_result( );
ShowPlayerDialogEx(playerid,RANGAIDIALOG,DIALOG_STYLE_LIST,"{04BAFF}Rangø valdymas",SAUGOMRANGUS,"Gerai","Iðeiti");
}
}
return 1;
}

3b9546e57a0c330900542f40be2aca6f379.png

Ši tema yra neaktyvi. Paskutinis pranešimas šioje temoje buvo prieš 3729 dienas (-ų). Patariame sukurti naują temą, o ne rašyti naują pranešimą.

Už neaktyvių temų prikėlimą galite sulaukti įspėjimo ir pranešimo pašalinimo!

Prisijungti prie diskusijos

Palikti atsakymą galite iš karto, o užsiregistruoti vėliau. Jeigu jau turite paskyrą mūsų forume, Prisijunkite.

Svečias
Atsakyti šioje temoje...

×   Įklijuotas tekstas turi teksto formatavimą.   Pašalinti teksto formatavimą

  Galimi tik 75 veidukai.

×   Nuoroda buvo automatiškai įterpta.   Įterpti nuorodą paprastai

×   Jūsų ankstesnis pranešimas buvo atkurtas.   Išvalyti redaktorių

×   Jūs negalite įkelti nuotraukas tiesiogiai.Įkelkite arba įdėkite nuotraukas iš URL.

  • Šiame puslapyje naršo:   0 nariai

    • Nėra registruotų narių peržiūrinčių šį forumą.

Skelbimai


×
×
  • Sukurti naują...