Help Autokick Modder
(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
ToXiCk-$x$x#5002
==========================================================================
(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.
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
(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
ToXiCk-$x$x#5002
==========================================================================
(07-24-2019 - 01:07 AM)RoyaleSprx Wrote:Search for connected players in the session, including those entering the session.(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
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.
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
(07-24-2019 - 01:19 AM)NoNameV2345 Wrote:(07-24-2019 - 01:07 AM)RoyaleSprx Wrote:Search for connected players in the session, including those entering the session.(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
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
ToXiCk-$x$x#5002
==========================================================================
(07-24-2019 - 01:33 AM)RoyaleSprx Wrote:(07-24-2019 - 01:19 AM)NoNameV2345 Wrote:(07-24-2019 - 01:07 AM)RoyaleSprx Wrote:Search for connected players in the session, including those entering the session.(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
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.
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
(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 communitySearch for connected players in the session, including those entering the session.
(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
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
ToXiCk-$x$x#5002
==========================================================================
Users browsing: 4 Guest(s)