[Ajuda] Como seria o cod ?
#1

Como й este codigo ? :/ da 2 warning's..

PHP код:
        if(APlayerData[playerid][SpeedometerText] < 10)
        
format(speed_string50"0%i"final_speed_int);
        else if(
APlayerData[playerid][SpeedometerText] > 10)
        
format(speed_string50"%i"final_speed_int);
        
TextDrawSetString(APlayerData[playerid][SpeedometerText], speed_string); 
Reply
#2

PHP код:
        if(APlayerData[playerid][SpeedometerText] < 10) {
        
format(speed_string50"0%i"final_speed_int);
        } else if(
APlayerData[playerid][SpeedometerText] > 10) {
        
format(speed_string50"%i"final_speed_int);
        }
        
TextDrawSetString(APlayerData[playerid][SpeedometerText], speed_string); 
Reply
#3

PHP код:
        if(final_speed_int10)
        
format(speed_string50"0%i"final_speed_int);
        else if(
final_speed_int 10)
        
format(speed_string50"%i"final_speed_int);
        
TextDrawSetString(APlayerData[playerid][SpeedometerText], speed_string); 
Reply
#4

Quote:
Originally Posted by Don_Speed
Посмотреть сообщение
PHP код:
        if(APlayerData[playerid][SpeedometerText] < 10) {
        
format(speed_string50"0%i"final_speed_int);
        } else if(
APlayerData[playerid][SpeedometerText] > 10) {
        
format(speed_string50"%i"final_speed_int);
        }
        
TextDrawSetString(APlayerData[playerid][SpeedometerText], speed_string); 
PHP код:
C:\Users\Admin\Desktop\Brasil Caminhoneiro\Brasil Ultimate Trucker v4.1.2 R4\pawno\include\PPC_Speedometer.inc(642) : warning 213tag mismatch
C
:\Users\Admin\Desktop\Brasil Caminhoneiro\Brasil Ultimate Trucker v4.1.2 R4\pawno\include\PPC_Speedometer.inc(644) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
2 Warnings
.
linha 624 = if(APlayerData[playerid][SpeedometerText] < 10) {
linha 644 = } else if(APlayerData[playerid][SpeedometerText] > 10) { 
Reply
#5

Quote:
Originally Posted by Nickvj7
Посмотреть сообщение
PHP код:
        if(final_speed_int10)
        
format(speed_string50"0%i"final_speed_int);
        else if(
final_speed_int 10)
        
format(speed_string50"%i"final_speed_int);
        
TextDrawSetString(APlayerData[playerid][SpeedometerText], speed_string); 
vlw funcionou +rep nos dois por terem ajudado
Reply
#6

Quote:
Originally Posted by JoaoMonteiro452
Посмотреть сообщение
PHP код:
C:\Users\Admin\Desktop\Brasil Caminhoneiro\Brasil Ultimate Trucker v4.1.2 R4\pawno\include\PPC_Speedometer.inc(642) : warning 213tag mismatch
C
:\Users\Admin\Desktop\Brasil Caminhoneiro\Brasil Ultimate Trucker v4.1.2 R4\pawno\include\PPC_Speedometer.inc(644) : warning 213tag mismatch
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
2 Warnings
.
linha 624 = if(APlayerData[playerid][SpeedometerText] < 10) {
linha 644 = } else if(APlayerData[playerid][SpeedometerText] > 10) { 
Kkkk nem tinha visto a variavel , depois que o nick posto que reparei
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)