some 21 warnind all same and same line? How fix
#1

PHP код:
warning 213tag mismatch 
PHP код:
if(Logged[playerid] == true
PHP код:
new
    
Logged[MAX_PLAYERS],
    
gOocMAX_PLAYERS ]

Reply
#2

PHP код:
bool:Logged[MAX_PLAYERS
add boolean tag
Reply
#3

Add the bool tag.
Код:
new 
    bool: Logged[MAX_PLAYERS], 
    gOoc[ MAX_PLAYERS ] 
;
Reply
#4

Код:
new 
    bool:Logged[MAX_PLAYERS], 
    gOoc[ MAX_PLAYERS ] 
;
Reply
#5

PHP код:
bool:Logged[MAX_PLAYERS], 
gosh 4 posts same time
Reply
#6

You haven't used the bool: tag in the variable.

https://sampforum.blast.hk/showthread.php?tid=525379
Reply
#7

now it aduty how fix this? :P
Reply
#8

Lines...
Reply
#9

Quote:
Originally Posted by Shinja
Посмотреть сообщение
Lines...
PHP код:
if (aDuty[playerid] == 0//Check if player is on duty 
Reply
#10

Quote:
Originally Posted by b0b
Посмотреть сообщение
PHP код:
if (aDuty[playerid] == 0//Check if player is on duty 
Just do if (!aDuty[playerid) // 0
or if (aDuty[playerid]) // 1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)