Quick question for my afk system
#8

Uhm, you have to edit something. I did a mistake :
MAX_PLAYER » MAX_PLAYERS

PHP код:
new Float:afkHealth[MAX_PLAYERS
// AFK CMD | Get player health : 
GetPlayerHealth(playeridafkHealth[playerid]); 

// Restore health 
SetPlayerHealth(playeridafkHealth[playerid]); 
Reply


Messages In This Thread
Quick question for my afk system - by 1fret - 23.05.2016, 15:13
Re: Quick question for my afk system - by SyS - 23.05.2016, 15:19
Re: Quick question for my afk system - by Slawiii - 23.05.2016, 15:27
Re: Quick question for my afk system - by SyS - 23.05.2016, 15:31
Re: Quick question for my afk system - by Dayrion - 23.05.2016, 15:43
Re: Quick question for my afk system - by SyS - 23.05.2016, 15:48
Re: Quick question for my afk system - by 1fret - 23.05.2016, 15:52
Re: Quick question for my afk system - by Dayrion - 23.05.2016, 16:02
Re: Quick question for my afk system - by 1fret - 23.05.2016, 16:13
Re: Quick question for my afk system - by Dayrion - 23.05.2016, 16:24

Forum Jump:


Users browsing this thread: 2 Guest(s)