Pomoc

Započeo Lazar_babuska, Maj 10, 2023, 00:44:53 PRE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): Napravio sam da igrac menja Textdrawu boju , boja ostane sve dok se ne restartuje kucni server ili ugasi/upali
Deo skripte: [pawn]   if(dialogid == dialog_bojatd)
   {
      switch(listitem)
      {
         case 0:
         {
            PI[playerid][xBojaTD] = 0;
            TextDrawColor(InGameTD[ 0 ], 0x0073F6FF);
            TextDrawColor(InGameTD[ 1 ], 0xF6F6F6F6);
            TextDrawColor(InGameTD[ 3 ], 0x0073F6FF);
            TextDrawColor(InGameTD[ 4 ], 0xF6F6F6F6);
            TextDrawColor(InGameTD[ 5 ], 0x0073F6FF);
            TextDrawColor(InGameTD[ 6 ], 0x0073F6FF);
            TextDrawColor(InGameTD[ 7 ], 0x0073F6FF);
            message(playerid, "Postavili ste boju textdrawova na plavu (default)");
         }
         case 1:
         {
            PI[playerid][xBojaTD] = 1;
            TextDrawColor(InGameTD[ 0 ], 0xF60000FF);
            TextDrawColor(InGameTD[ 1 ], 0xF6F6F6F6);
            TextDrawColor(InGameTD[ 3 ], 0xF60000FF);
            TextDrawColor(InGameTD[ 4 ], 0xF6F6F6F6);
            TextDrawColor(InGameTD[ 5 ], 0xF60000FF);
            TextDrawColor(InGameTD[ 6 ], 0xF60000FF);
            message(playerid, "Postavili ste boju textdrawova na crvenu")
       TogPlayerHud(playerid);
       TogPlayerHud(playerid);
       SavePlayer( playerid );
      return (true);
   };[/pawn]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [pawn]/[/pawn]
Slika/video ingame problema(obavezno ako je ingame problem): /