25.06.2011, 14:59
Try sticking this line in there.
Code:
SetPlayerHealth(playerid,100);
SetPlayerHealth(playerid,100);
- Did you try a different spawn location? (Change your coordinates and try.)
- Instead of SetPlayerHealth(playerid, 99999); Use this: SetPlayerHealth(playerid, 0x107FFF); Or you can do it this way: On top of your script: #define iFloat 0x107FFF then, SetPlayerHealth(playerid, iFloat); Thats all i can suggest ATM. |
Euhm :S
forward AntiSpawnkill(playerid);
public AntiSpawnkill(playerid)
{
SetPlayerHealth(playerid, 100);
Delete3DTextLabel(label[playerid]);
SendClientMessage(playerid, 0xFF0000AA, "Anti-Spawnkill protection over, you are on your own now");
return 1;
}