04.10.2010, 17:08
I never used defines with more than one line, but i saw some in other topics, correct me if i am wrong.
try replacing the
SetPVarInt(%0, "Health", GetPlayerHealthEx(%0)+%1), SetPlayerHealth(%0,%1)
with
try replacing the
SetPVarInt(%0, "Health", GetPlayerHealthEx(%0)+%1), SetPlayerHealth(%0,%1)
with
pawn Код:
#define SetPlayerHealthEx(%0,%1)SetPVarInt(%0, "Health", GetPlayerHealthEx(%0)+%1) \
SetPlayerHealth(%0,%1)
//or
#define SetPlayerHealthEx(%0,%1) SetPVarInt(%0, "Health", GetPlayerHealthEx(%0)+%1); SetPlayerHealth(%0,%1)