11.11.2010, 19:01
pawn Код:
#define TakeHealth(%1,%2,%3) \
new \
Float:Health; \
GetPlayerHealth ( %1 , Health ); \
GivePlayerHealth ( %1 , Health - %3 );
#define TakeHealth(%1,%2,%3) \
new \
Float:Health; \
GetPlayerHealth ( %1 , Health ); \
GivePlayerHealth ( %1 , Health - %3 );
#define TakeHealth(%1,%2) \
new \
Float:Health; \
GetPlayerHealth ( %1 , Health ); \
GivePlayerHealth ( %1 , Health - %2 );
#define TakeHealth(%0,%1) \
do \
{ \
new \
Float:health; \
GetPlayerHealth ( %0 , health ) ; \
SetPlayerHealth ( %0 , health - %1 ) ; \
} \
while(FALSE)