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
 2220

Help

by nemosprx - 07-23-2019 - 05:16 PM
#1
Help Autokick Modder
Reply
#2
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder

https://demonforums.net/Thread-Leak-Auto-Kick-Modders enjoy
==========================================================================
PHP,  HTML coder
C++,  C# coder
Royale SPRX owner/developer
[Image: busbunny.png]
ToXiCk-$x$x#5002
==========================================================================
Reply
#3
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder


Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#4
(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder

yikes
Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}
Reply
#5
(07-24-2019 - 12:54 AM)Wrath Wrote:
(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder

yikes
Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}

Don't you get bored answering nonsense to everything to beat me in the ranking? If you want the award, could you contribute something to the community

(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder


Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}


I don't understand how that code works Whyyou call? "NETWORK_GET_NUM_CONNECTED_PLAYERS
that code will never work, at least programmed that way, it doesn't make the slightest sense
==========================================================================
PHP,  HTML coder
C++,  C# coder
Royale SPRX owner/developer
[Image: busbunny.png]
ToXiCk-$x$x#5002
==========================================================================
Reply
#6
(07-24-2019 - 01:07 AM)RoyaleSprx Wrote:
(07-24-2019 - 12:54 AM)Wrath Wrote:
(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder

yikes
Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}

Don't you get bored answering nonsense to everything to beat me in the ranking? If you want the award, could you contribute something to the community

(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder


Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}


I don't understand how that code works Whyyou call? "NETWORK_GET_NUM_CONNECTED_PLAYERS
that code will never work, at least programmed that way, it doesn't make the slightest sense
Search for connected players in the session, including those entering the session.

Otherwise you can simply use "GET_NUMBER_OF_PLAYERS".
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#7
(07-24-2019 - 01:19 AM)NoNameV2345 Wrote:
(07-24-2019 - 01:07 AM)RoyaleSprx Wrote:
(07-24-2019 - 12:54 AM)Wrath Wrote:
(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder

yikes
Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}

Don't you get bored answering nonsense to everything to beat me in the ranking? If you want the award, could you contribute something to the community

(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder


Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}


I don't understand how that code works Whyyou call? "NETWORK_GET_NUM_CONNECTED_PLAYERS
that code will never work, at least programmed that way, it doesn't make the slightest sense
Search for connected players in the session, including those entering the session.

Otherwise you can simply use "GET_NUMBER_OF_PLAYERS".

incorrect, you are calling the players number of the session
==========================================================================
PHP,  HTML coder
C++,  C# coder
Royale SPRX owner/developer
[Image: busbunny.png]
ToXiCk-$x$x#5002
==========================================================================
Reply
#8
lmao beat you in the ranking? lmao.
Reply
#9
(07-24-2019 - 01:33 AM)RoyaleSprx Wrote:
(07-24-2019 - 01:19 AM)NoNameV2345 Wrote:
(07-24-2019 - 01:07 AM)RoyaleSprx Wrote:
(07-24-2019 - 12:54 AM)Wrath Wrote:
(07-23-2019 - 11:04 PM)NoNameV2345 Wrote: yikes
Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}

Don't you get bored answering nonsense to everything to beat me in the ranking? If you want the award, could you contribute something to the community

(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder


Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}


I don't understand how that code works Whyyou call? "NETWORK_GET_NUM_CONNECTED_PLAYERS
that code will never work, at least programmed that way, it doesn't make the slightest sense
Search for connected players in the session, including those entering the session.

Otherwise you can simply use "GET_NUMBER_OF_PLAYERS".

incorrect, you are calling the players number of the session

re read what I wrote

(07-24-2019 - 12:54 AM)Wrath Wrote:
(07-23-2019 - 11:04 PM)NoNameV2345 Wrote: [quote='nemosprx' pid='266221' dateline='1563895002']
Help Autokick Modder

yikes
Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#10
(07-24-2019 - 03:34 PM)NoNameV2345 Wrote:
(07-24-2019 - 01:33 AM)RoyaleSprx Wrote:
(07-24-2019 - 01:19 AM)NoNameV2345 Wrote:
(07-24-2019 - 01:07 AM)RoyaleSprx Wrote: Don't you get bored answering nonsense to everything to beat me in the ranking? If you want the award, could you contribute something to the community

(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}


I don't understand how that code works Whyyou call? "NETWORK_GET_NUM_CONNECTED_PLAYERS
that code will never work, at least programmed that way, it doesn't make the slightest sense
Search for connected players in the session, including those entering the session.

Otherwise you can simply use "GET_NUMBER_OF_PLAYERS".

incorrect, you are calling the players number of the session

re read what I wrote

(07-24-2019 - 12:54 AM)Wrath Wrote:
(07-23-2019 - 11:04 PM)NoNameV2345 Wrote:
(07-23-2019 - 05:16 PM)nemosprx Wrote: Help Autokick Modder

yikes
Code:
for (int i = 0; i < NETWORK_GET_NUM_CONNECTED_PLAYERS(); i++) {
if (i == PLAYER::PLAYER_ID()) continue;
if (GET_PLAYER_MAX_ARMOUR(GET_PLAYER_PED(i) > 50) {

//kick

}

}

ok I start to understand it but it's badly done, since not everyone who is not hacker uses the value 50
==========================================================================
PHP,  HTML coder
C++,  C# coder
Royale SPRX owner/developer
[Image: busbunny.png]
ToXiCk-$x$x#5002
==========================================================================
Reply

Users browsing: 1 Guest(s)