Hi, Guest
0 Members and 1 Guest are viewing this topic.
#include <a_samp>#define IsOdd(%0) ( ( %0 ) & 1 )enum geMatchesPlayers{ gsUserLink[ 64 ], gsUserName[ 32 ]};new gaMatchesPlayers[ ][ geMatchesPlayers ] ={ { "http://forum.skilledg.com/index.php?action=profile;u=1", "![]stuntman[]!" }, { "http://forum.skilledg.com/index.php?action=profile;u=1384", "LimiTLesS" }, { "http://forum.skilledg.com/index.php?action=profile;u=157", "[uTD]Andrei" }, { "http://forum.skilledg.com/index.php?action=profile;u=155", "obik._" }, { "http://forum.skilledg.com/index.php?action=profile;u=1379", "MefX" }, { "http://forum.skilledg.com/index.php?action=profile;u=1125", "xNick" }, { "http://forum.skilledg.com/index.php?action=profile;u=1845", "Christian" }, { "http://forum.skilledg.com/index.php?action=profile;u=1449", "Casper" }, { "http://forum.skilledg.com/index.php?action=profile;u=187", "xXx_vasya_xXx" }, { "http://forum.skilledg.com/index.php?action=profile;u=1339", "[SG]K1d.xD" }, { "http://forum.skilledg.com/index.php?action=profile;u=2587", "Dj_Skull" }, { "http://forum.skilledg.com/index.php?action=profile;u=1299", "[uTD]P1xuletz" }, { "http://forum.skilledg.com/index.php?action=profile;u=245", "Dudutz" }, { "http://forum.skilledg.com/index.php?action=profile;u=242", "iPLAY" }, { "http://forum.skilledg.com/index.php?action=profile;u=220", "BLooD" }, { "", "Nimeni" }};new gaPlayerChosen[ sizeof gaMatchesPlayers ] = { -1, ... };public OnFilterScriptInit( ){ new liPlayersAmount = sizeof gaMatchesPlayers; if( IsOdd( liPlayersAmount ) ) return print( "EROARE: Numarul de jucatori trebuie sa fie par !" ); print( "[table]\n\ [tr][td][/td][td][color=red]#1[/color][/td][td][/td][td]vs[/td][td][/td][td][color=green]#2[/color][/td][td]Data disputare:[/td][/tr]" ); new liCount, liCountCounts; for( new i = 0; i < sizeof gaMatchesPlayers; i ++ ) { while( gaPlayerChosen[ i ] == -1 || gaPlayerChosen[ i ] == i ) { liCountCounts ++; if( ( liCountCounts % 3 ) == 0 ) { liCount ++; liCountCounts = 1; } gaPlayerChosen[ i ] = random( sizeof gaMatchesPlayers ); while( gaPlayerChosen[ gaPlayerChosen[ i ] ] != -1 ) { gaPlayerChosen[ i ] = random( sizeof gaMatchesPlayers ); } gaPlayerChosen[ gaPlayerChosen[ i ] ] = i; if( !strlen( gaMatchesPlayers[ i ][ gsUserLink ] ) ) { printf( "[tr][td]%d[/td][td][color=red]%s[/color][/td][td]-[/td][td]vs[/td][td]-[/td][td][url=%s]%s[/url][/td][td]-[/td][/tr]", ( liCount + 1 ), gaMatchesPlayers[ i ][ gsUserName ], gaMatchesPlayers[ gaPlayerChosen[ i ] ][ gsUserLink ], gaMatchesPlayers[ gaPlayerChosen[ i ] ][ gsUserName ] ); } else if( !strlen( gaMatchesPlayers[ gaPlayerChosen[ i ] ][ gsUserLink ] ) ) { printf( "[tr][td]%d[/td][td][url=%s]%s[/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][color=red]%s[/color][/td][td]-[/td][/tr]", ( liCount + 1 ), gaMatchesPlayers[ i ][ gsUserLink ], gaMatchesPlayers[ i ][ gsUserName ], gaMatchesPlayers[ gaPlayerChosen[ i ] ][ gsUserName ] ); } else { printf( "[tr][td]%d[/td][td][url=%s]%s[/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][url=%s]%s[/url][/td][td]-[/td][/tr]", ( liCount + 1 ), gaMatchesPlayers[ i ][ gsUserLink ], gaMatchesPlayers[ i ][ gsUserName ], gaMatchesPlayers[ gaPlayerChosen[ i ] ][ gsUserLink ], gaMatchesPlayers[ gaPlayerChosen[ i ] ][ gsUserName ] ); } } } print( "[/table]" ); return 1;}
[25/07/2014 13:33:37] [table][tr][td][/td][td][color=red]#1[/color][/td][td][/td][td]vs[/td][td][/td][td][color=green]#2[/color][/td][td]Data disputare:[/td][/tr][25/07/2014 13:33:37] [tr][td]1[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=1]![]stuntman[]![/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=1339][SG]K1d.xD[/url][/td][td]-[/td][/tr][25/07/2014 13:33:37] [tr][td]1[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=1384]LimiTLesS[/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=242]iPLAY[/url][/td][td]-[/td][/tr][25/07/2014 13:33:37] [tr][td]2[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=157][uTD]Andrei[/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=155]obik._[/url][/td][td]-[/td][/tr][25/07/2014 13:33:37] [tr][td]2[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=1379]MefX[/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=1125]xNick[/url][/td][td]-[/td][/tr][25/07/2014 13:33:37] [tr][td]3[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=1845]Christian[/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=245]Dudutz[/url][/td][td]-[/td][/tr][25/07/2014 13:33:37] [tr][td]3[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=1449]Casper[/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][color=red]Nimeni[/color][/td][td]-[/td][/tr][25/07/2014 13:33:37] [tr][td]4[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=187]xXx_vasya_xXx[/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=220]BLooD[/url][/td][td]-[/td][/tr][25/07/2014 13:33:37] [tr][td]4[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=2587]Dj_Skull[/url][/td][td]-[/td][td]vs[/td][td]-[/td][td][url=http://forum.skilledg.com/index.php?action=profile;u=1299][uTD]P1xuletz[/url][/td][td]-[/td][/tr][25/07/2014 13:33:37] [/table]
Fenomenal am picat cu OBAMA ! Ba mereu pic cu cel mai bun
Exista hack pentru Haxball ?
P.S: Mefx - xNick, succes ( ce bulan pe ei, si aici joaca amandoi :3 )
Am picat bine, cred