Thread: Optimize Plugin
View Single Post
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 07-18-2018 , 08:13   Re: Optimize Plugin
Reply With Quote #27

Quote:
Originally Posted by PurposeLessx View Post
I want to revive all dead people. If not connected, how I will revive?

Code:
Player not alive or not connected.
Well, you can't revive someone who isn't in the server, can you? To revive all the dead players do this:
PHP Code:
new szPlayers32 ], iNum;
get_playersszPlayersiNum"b" );

static 
iTempID;

for( new 
iiTempIDi++ )
{
    
iTempID szPlayers];
    
    
ExecuteHamHam_CS_RoundRespawniTempID );

edon1337 is offline