ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1431

how to detected invincible?

by EL_Dev - 08-11-2019 - 01:09 PM
#1
I can not use it source this.
if (PLAYER::GET_PLAYER_INVINCIBLE(selectedPlayer) == true) {
sprintf(ModderChar, "~b~true");
}
else { sprintf(ModderChar, "~g~false"); }
This account is currently banned
Ban reason: Leeching/spamming
Reply
#2
(08-11-2019 - 01:09 PM)EL_Dev Wrote: I can not use it source this.
if (PLAYER::GET_PLAYER_INVINCIBLE(selectedPlayer) == true) {
sprintf(ModderChar, "~b~true");
}
else { sprintf(ModderChar, "~g~false"); }
use get entity address
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#3
I think you need to identify "ModderChar".


char ModderChar[500];
if (PLAYER::GET_PLAYER_INVINCIBLE(selectedPlayer) == true) {
sprintf(ModderChar, "~b~true");
}
else { sprintf(ModderChar, "~g~false"); }
Reply
#4
(08-11-2019 - 03:23 PM)ELSANTO1 Wrote: I think you need to identify "ModderChar".


char ModderChar[500];
if (PLAYER::GET_PLAYER_INVINCIBLE(selectedPlayer) == true) {
sprintf(ModderChar, "~b~true");
}
else { sprintf(ModderChar, "~g~false"); }

thank you!!
This account is currently banned
Ban reason: Leeching/spamming
Reply
#5
(08-11-2019 - 03:25 PM)EL_Dev Wrote:
(08-11-2019 - 03:23 PM)ELSANTO1 Wrote: I think you need to identify "ModderChar".


char ModderChar[500];
if (PLAYER::GET_PLAYER_INVINCIBLE(selectedPlayer) == true) {
sprintf(ModderChar, "~b~true");
}
else { sprintf(ModderChar, "~g~false"); }

thank you!!

Your wellcome.
Reply

Users browsing: 2 Guest(s)