Jump to content
  • 0

about cutin out the image


casanova

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  05/06/14
  • Last Seen:  

//Normal




prontera,162,192,4 script Ranking Staff 803,{
cutin "hu_alex05",2;

set @nome$,"[ ^FF0000 Ranking Staff ^000000 ]";

mes @nome$;
mes "Hello "+strcharinfo(0)+".";
next;
mes @nome$;
mes "Choose your ranking list?";
next;
switch(select("- ^FFA500Rankings of PvP [TOP 10]^000000","- ^008B8BRankings of GvG [TOP 10]^000000"))
{
case 1:

mes @nome$;
mes "Okay, This is the List of PvP [TOP 10]";
next;
query_sql "SELECT name, kills, deaths FROM PVP ORDER BY kills DESC LIMIT 10",@name$,@kills,@deaths;
dispbottom "Ranking PvP [TOP 10]";
dispbottom " ";
dispbottom "Position <~> Name <~> Kill <~> Died";
dispbottom " ";
for(set @i,0;@i<=9;set @i,@i+1) {
dispbottom "["+(@i+1)+"] <~> "+@name$[@i]+" <~> "+@kills[@i]+" <~> "+@deaths[@i]+"";
}
close;

case 2:

mes @nome$;
mes "Okay, This is the List of GvG [TOP 10]";
next;
query_sql "SELECT name, kills, deaths FROM gvg ORDER BY kills DESC LIMIT 10",@guild_name$,@guild_kills,@guild_deaths;
dispbottom "Ranking GvG [TOP 10]";
dispbottom " ";
dispbottom "Position <~> Name of the Guild <~> Wins <~> Loses";
dispbottom " ";
for(set @i,0;@i<=9;set @i,@i+1) {
dispbottom "["+(@i+1)+"] <~> "+@guild_name$[@i]+" <~> "+@guild_kills[@i]+" <~> "+@guild_deaths[@i]+"";
}
close;
cutin "",255;

}
}
}
}


===============================

can you help me where to put the cutin "",255; -- bcoz its not working after choosing case1 & 2.. help please

Edited by Emistry
codebox
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2372
  • Joined:  10/28/11
  • Last Seen:  

close2;
cutin "",255;
end;

change close to this

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  179
  • Reputation:   17
  • Joined:  04/24/14
  • Last Seen:  

try this

 

prontera,162,192,4 script Ranking Staff 803,{
cutin "hu_alex05",2;
 
 
set @nome$,"[ ^FF0000 Ranking Staff ^000000 ]";
 
    mes @nome$;
    mes "Hello "+strcharinfo(0)+".";
    next;
    mes @nome$;
    mes "Choose your ranking list?";
    next;
    switch(select("- ^FFA500Rankings of PvP [TOP 10]^000000","- ^008B8BRankings of GvG [TOP 10]^000000"))
{
case 1:
 
    mes @nome$;
    mes "Okay, This is the List of PvP [TOP 10]";
    next;
    query_sql "SELECT name, kills, deaths FROM PVP ORDER BY kills DESC LIMIT 10",@name$,@kills,@deaths;
    dispbottom "Ranking PvP [TOP 10]";
    dispbottom " ";
    dispbottom "Position <~> Name <~> Kill <~> Died";
    dispbottom " ";
    for(set @i,0;@i<=9;set @i,@i+1) {
        dispbottom "["+(@i+1)+"] <~> "+@name$[@i]+" <~> "+@kills[@i]+" <~> "+@deaths[@i]+"";
    }
    close2;
    cutin "",255;
    end;
    
case 2:
 
    mes @nome$;
    mes "Okay, This is the List of GvG [TOP 10]";
    next;
    query_sql "SELECT name, kills, deaths FROM gvg ORDER BY kills DESC LIMIT 10",@guild_name$,@guild_kills,@guild_deaths;
    dispbottom "Ranking GvG [TOP 10]";
    dispbottom " ";
    dispbottom "Position <~> Name of the Guild <~> Wins <~> Loses";
    dispbottom " ";
    for(set @i,0;@i<=9;set @i,@i+1) {
        dispbottom "["+(@i+1)+"] <~> "+@guild_name$[@i]+" <~> "+@guild_kills[@i]+" <~> "+@guild_deaths[@i]+"";
    }
    close2;
    cutin "",255;
    end;
    
    }
}
}
} 
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...