04.10.2009, 05:57
Hello people
I need to put a blocker to say that when a user wants to teleport with little life when you block it 70% of life ...
had tried
forward Float: GetHealth (playerid);
Float: GetHealth (playerid)
(
new Float: health;
GetPlayerHealth (playerid, health);
return health;
)
if (GetHealth (playerid) <99) return SendClientMessage (playerid, WHITE, "You can not teleport with less then 99 health!");
but I get error in the gm ....
Please help me to put that command or find another that works well
greetings and thanks for the help! xD
PD: Sorry my bad English, use the ****** translator :P
I need to put a blocker to say that when a user wants to teleport with little life when you block it 70% of life ...
had tried
forward Float: GetHealth (playerid);
Float: GetHealth (playerid)
(
new Float: health;
GetPlayerHealth (playerid, health);
return health;
)
if (GetHealth (playerid) <99) return SendClientMessage (playerid, WHITE, "You can not teleport with less then 99 health!");
but I get error in the gm ....
Please help me to put that command or find another that works well
greetings and thanks for the help! xD
PD: Sorry my bad English, use the ****** translator :P