31.07.2011, 20:24
Quote:
TogglePlayerControllable(targetid, 1); new msg[MAX_STRING]; SetPlayerArmour(targetid,0); SetPlayerHealth(targetid,100); checkinv = 1; new Float ![]() GetPlayerPos(targetid,x,y,z); CreateExplosion(x, y, z, 12, 2.0); SetTimerEx("Explosion",500,0,"ii", targetid, playerid); format(msg,sizeof(msg),""#COL_ORANGE"[ADMIN] "#COL_LRED"%s was checked for Invulnerability HAX.",PlayerName(targetid)); SendClientMessage(playerid,COLOR_WHITE, msg); SetPlayerArmour(targetid,99); SetPlayerHealth(targetid,99); |
'targetid' gets disarmoured and his health is set to 100, Server creates explode under it, then set timer, sending message to playerid and the armour and health of targetid is set to 99?
What it does? And where's the "public Explosion"?
![Cheesy](images/smilies/biggrin.png)
And PS: D
"I am not that good of a scripter ;(" - Don't worry, just keep learning
![Smiley](images/smilies/smile.png)