09.09.2010, 16:11
so man look i add that
and #define INFINITY (Float:0x7F800000)
but peoples can kill me again i type /gospod i get full health armor but when he shout me my health go away.. and i can die! I want to make a command to cant die i see that in raven rp when you adminonduty others cant kill you!
Код:
//---------------------------------------[goodmode]--------------------------
if(strcmp(cmd,"/gospod",true)==0)
{
if(PlayerInfo[playerid][pAdmin] >= 1338)
{
SetPlayerHealth(playerid, INFINITY);
SetPlayerArmour(playerid, INFINITY);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, 256, "-| Admin [ID %d ] %s go vkluci GODMODE. |-", playerid,sendername);
SendClientMessageToAll(COLOR_RED, string);
}
return 1;
}
but peoples can kill me again i type /gospod i get full health armor but when he shout me my health go away.. and i can die! I want to make a command to cant die i see that in raven rp when you adminonduty others cant kill you!

