Problem with count event players
#1

Delete.
Reply
#2

Try adding playerInfo[playerid][MODE] = unknown; before "SpawnPlayer"
Reply
#3

Quote:
Originally Posted by Thewin
Посмотреть сообщение
Try adding playerInfo[playerid][MODE] = unknown; before "SpawnPlayer"
Still doesn't work.
Reply
#4

the server at least show u this "** {d3d3d3}%s(%i) Telah Meninggalkan Last Man Standing (LMS)" ?
Reply
#5

Quote:
Originally Posted by Thewin
Посмотреть сообщение
the server at least show u this "** {d3d3d3}%s(%i) Telah Meninggalkan Last Man Standing (LMS)" ?
Yes. That mean you have leave from last man standing.
Reply
#6

Код:
countEvent(event) 
{ 
    new count = 0; 
     
    for(new i=0; i < MAX_PLAYERS; i++) 
    { 
         if(playerInfo[i][MODE] == event) 
         { 
             count++; 
        } 
    } 
    return count; 
}
try
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)