error :D
#1

hi all anyone can make GameTextForPlayer instead of textdraw. i made but eror found expression have no effect
PHP код:
if(IsPlayerInDynamicCP(playeridCP[SNAKE]) && UnderAttack[SNAKE] == && IsPlayerCapturing[playerid][SNAKE] == 1)
        {
            
CountVar[playerid][SNAKE]--;
              new 
str1[124];
            
TextDrawShowForPlayer(playeridCountText[playerid]);
            
format(str1sizeof(str1),"~r~%d ~y~Left To Capture."CountVar[playerid][SNAKE]);
            
TextDrawSetString(CountText[playerid], str1);
        } 
Reply
#2

Erase TextDrawShowForPlayer and TextDrawSetString lines.

Add:
pawn Код:
GameTextForPlayer(playerid, str1, REFRESH_TIME, STYLE);
Under format(str1, (...));
Reply
#3

PHP код:
if(IsPlayerInDynamicCP(playeridCP[SNAKE]) && UnderAttack[SNAKE] == && IsPlayerCapturing[playerid][SNAKE] == 1)
        {
            
CountVar[playerid][SNAKE]--;
            new 
str1[124];
            
format(str1sizeof(str1),"~r~%d ~y~Left To Capture."CountVar[playerid][SNAKE]);
            
GameTextForPlayer(playerid,str1,time,style);
        } 
https://sampwiki.blast.hk/wiki/GameTextStyle
Reply
#4

oh thanks alot i was forgot style
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)