AFK System
#2

Use simple variables... and CMDS saying SendClientMessageToAll using

GetPlayerName and a string

and you want to save the heal to a varible with

new oldhp[playerid] = GetPlayerHealth(playerid);

when theyy type /back it does

SetPlayerHealth(playerid, oldhp[playerid]);

Seriously give it a go its very simple if you dont try you wont learn

Oldhp must be global (I think)
Reply


Messages In This Thread
AFK System - by dahley5 - 03.09.2011, 00:57
Re: AFK System - by IceCube! - 03.09.2011, 01:00
Re: AFK System - by dahley5 - 03.09.2011, 01:02
Re: AFK System - by BlackWolf120 - 03.09.2011, 01:02
Re: AFK System - by IceCube! - 03.09.2011, 01:07
Re: AFK System - by dahley5 - 03.09.2011, 01:09
Re: AFK System - by IceCube! - 03.09.2011, 01:10
Re: AFK System - by dahley5 - 03.09.2011, 01:12
Re: AFK System - by IceCube! - 03.09.2011, 01:15
Re: AFK System - by dahley5 - 03.09.2011, 01:31

Forum Jump:


Users browsing this thread: 4 Guest(s)