__.A.__
Wiek: 30 Na forum: 5171 dni Posty: 151
Piwa : 855
Witam mam wielk? pro?b? m?g? by kto? pom?c przeniesc texdraw zabawami z mapy fulldm
w tym miejscu :
Kod : starego texdraw*u
Kod: forward ZapisyUpdate();
public ZapisyUpdate()
{
new str[8][16];
new strr[8][10];
new Liczba[9];
Liczba[0] = WGLiczba;
Liczba[1] = CTFLiczba;
Liczba[4] = RaceMenLiczba;
Liczba[6] = ChNum;
for(new x=0;x<MAX_PLAYERS;x++){
if(IsPlayerConnected(x)){
if(DerbyMen[x]){
Liczba[2] ++;
}
if(Skoczek[x]){
Liczba[3] ++;
}
if(Strzelnica[x]){
Liczba[5] ++;
}
if(Labirynt[x]){
Liczba[7] ++;
}
}
}
if(Liczba[0] < 4){
format(str[0],16,"~p~/WG");
format(strr[0],10,"~p~%d/4",Liczba[0]);
}else{
format(str[0],16,"~w~/WG");
format(strr[0],10,"~w~%d",Liczba[0]);
}
if(WGON){
format(str[0],16,"~r~/WG");
format(strr[0],10,"~r~---");
}
if(Liczba[1] < 4){
format(str[1],16,"~p~/CTF");
format(strr[1],10,"~p~%d/4",Liczba[1]);
}else{
format(str[1],16,"~w~/CTF");
format(strr[1],10,"~w~%d",Liczba[1]);
}
if(CTFON){
format(str[1],16,"~r~/CTF");
format(strr[1],10,"~r~---");
}
if(Liczba[2] < 4){
format(str[2],16,"~p~/Derby");
format(strr[2],10,"~p~%d/4",Liczba[2]);
}else{
format(str[2],16,"~w~/Derby");
format(strr[2],10,"~w~%d",Liczba[2]);
}
if(DerbyON || Liczba[2] >= 16){
format(str[2],16,"~r~/Derby");
format(strr[2],10,"~r~---");
}
if(Liczba[3] < 2){
format(str[3],16,"~p~/Skoki");
format(strr[3],10,"~p~%d/2",Liczba[3]);
}else{
format(str[3],16,"~2~/Skoki");
format(strr[3],10,"~2~%d",Liczba[3]);
}
if(Liczba[4] < 4){
format(str[4],16,"~p~/Race");
format(strr[4],10,"~p~%d/4",Liczba[4]);
}else{
format(str[4],16,"~w~/Race");
format(strr[4],10,"~w~%d",Liczba[4]);
}
if(RaceWystartowal || Liczba[4] >= 10){
format(str[4],16,"~r~/Race");
format(strr[4],10,"~r~---");
}
if(Liczba[5] < 4){
format(str[5],16,"~p~/Strzelnica");
format(strr[5],10,"~p~%d/4",Liczba[5]);
}else{
format(str[5],16,"~w~/Strzelnica");
format(strr[5],10,"~w~%d",Liczba[5]);
}
if(StrzelnicaON){
format(str[5],16,"~r~/Strzelnica");
format(strr[5],10,"~r~---");
}
if(Liczba[6] < 4){
format(str[6],16,"~p~/Chowany");
format(strr[6],10,"~p~%d/5",Liczba[6]);
}else{
format(str[6],16,"~w~/Chowany");
format(strr[6],10,"~w~%d",Liczba[6]);
}
if(ChWystartowala || Liczba[6] >= 49){
format(str[6],16,"~r~/Chowany");
format(strr[6],10,"~r~---");
}
if(Liczba[7] < 4){
format(str[7],16,"~p~/Labirynt");
format(strr[7],10,"~p~%d/4",Liczba[7]);
}else{
format(str[7],16,"~w~/Labirynt");
format(strr[7],10,"~w~%d",Liczba[7]);
}
if(LabON){
format(str[7],16,"~r~/Labirynt");
format(strr[7],10,"~r~---");
}
new string[128];
new string2[128];
format(string,sizeof(string),"~n~%s~n~%s~n~%s~n~%s~n~%s~n~%s~n~%s~n~%s~n~",str[0],str[1],str[2],str[3],str[4],str[5],str[6],str[7]);
format(string2,sizeof(string2),"~n~%s~n~%s~n~%s~n~%s~n~%s~n~%s~n~%s~n~%s~n~",strr[0],strr[1],strr[2],strr[3],strr[4],strr[5],strr[6],strr[7]);
TextDrawSetString(Zapisy[1],string);
TextDrawSetString(Zapisy[2],string2);
return 1;
}
ZapisyLoad()
{
Zapisy[0] = TextDrawCreate(80.0, 265.0, "Zapisy:");
TextDrawUseBox(Zapisy[0], false);
TextDrawColor(Zapisy[0],0x0080FFFF);
TextDrawSetShadow(Zapisy[0],0);
TextDrawTextSize(Zapisy[0], 110, 110);
TextDrawAlignment(Zapisy[0],2);
TextDrawBackgroundColor(Zapisy[0],0x000000ff);
TextDrawSetOutline(Zapisy[0],1);
Zapisy[1] = TextDrawCreate(26.0, 268.0, "~n~/CTF:~n~/WG:~n~/Derby:~n~/Race:~n~/Skoki:~n~/Strzelnica:~n~/Chowany:~n~/Labirynt:");
TextDrawUseBox(Zapisy[1], false);
TextDrawColor(Zapisy[1],0xFFFFFFFF);
TextDrawTextSize(Zapisy[1], 110, 350);
TextDrawAlignment(Zapisy[1],1);
TextDrawFont(Zapisy[1],2);
TextDrawLetterSize(Zapisy[1],0.26,0.77);
TextDrawBackgroundColor(Zapisy[1],0x000000ff);
TextDrawSetProportional(Zapisy[1],1);
TextDrawSetOutline(Zapisy[1],1);
Zapisy[2] = TextDrawCreate(134.0, 268.0, "~n~3/4~n~3/4~n~3/4~n~3/2~n~3/4~n~3/4~n~3/4~n~3/4~n~");
TextDrawUseBox(Zapisy[2], false);
TextDrawColor(Zapisy[2],0xFFFFFFFF);
TextDrawTextSize(Zapisy[2], 110, 350);
TextDrawAlignment(Zapisy[2],3);
TextDrawFont(Zapisy[2],2);
TextDrawLetterSize(Zapisy[2],0.26,0.77);
TextDrawBackgroundColor(Zapisy[2],0x000000ff);
TextDrawSetProportional(Zapisy[2],1);
TextDrawSetOutline(Zapisy[2],1);
Prosze was o pomoc z g?ry dzi?kuje