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
 3428

Auto Kick Modders

by RoyaleSprx - 07-19-2019 - 05:27 PM
#1
Quote:This code read the variable "SET_PLAYER_MAX_ARMOUR" and kick the players with edited variable 
Hidden Content
You must register or login to view this content.



Credits to: Revoke SPRX, WesleyMarcos_
Reply
#2
(07-19-2019 - 05:27 PM)RoyaleSprx Wrote:
Quote:This code read the variable "SET_PLAYER_MAX_ARMOUR" and kick the players with edited variable 
Code:
void AutoKick_Modders2()
{
if (AutoKickMod2)
{
for (int i = 0; i < 16; i++)
{
int id = GET_PLAYER_PED(i);
if (id > 0 && id != PLAYER_PED_ID())
{
if (IsPlayerModder(i))
{
KickNonProHost(i);
}
}
}
}
}

nice release !
Reply
#3
(07-19-2019 - 05:27 PM)RoyaleSprx Wrote:
Quote:This code read the variable "SET_PLAYER_MAX_ARMOUR" and kick the players with edited variable 
Code:
void AutoKick_Modders2()
{
if (AutoKickMod2)
{
for (int i = 0; i < 16; i++)
{
int id = GET_PLAYER_PED(i);
if (id > 0 && id != PLAYER_PED_ID())
{
if (IsPlayerModder(i))
{
KickNonProHost(i);
}
}
}
}
}
IsPlayerModder ?
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#4
(07-19-2019 - 06:39 PM)ask_blk Wrote:
(07-19-2019 - 05:27 PM)RoyaleSprx Wrote:
Quote:This code read the variable "SET_PLAYER_MAX_ARMOUR" and kick the players with edited variable 
Code:
void AutoKick_Modders2()
{
if (AutoKickMod2)
{
for (int i = 0; i < 16; i++)
{
int id = GET_PLAYER_PED(i);
if (id > 0 && id != PLAYER_PED_ID())
{
if (IsPlayerModder(i))
{
KickNonProHost(i);
}
}
}
}
}

nice release !
Thanks brother!

(07-19-2019 - 06:43 PM)NoNameV2345 Wrote:
(07-19-2019 - 05:27 PM)RoyaleSprx Wrote:
Quote:This code read the variable "SET_PLAYER_MAX_ARMOUR" and kick the players with edited variable 
Code:
void AutoKick_Modders2()
{
if (AutoKickMod2)
{
for (int i = 0; i < 16; i++)
{
int id = GET_PLAYER_PED(i);
if (id > 0 && id != PLAYER_PED_ID())
{
if (IsPlayerModder(i))
{
KickNonProHost(i);
}
}
}
}
}
IsPlayerModder ?
Updated Post
Reply
#5
(07-19-2019 - 06:56 PM)RoyaleSprx Wrote:
(07-19-2019 - 06:39 PM)ask_blk Wrote:
(07-19-2019 - 05:27 PM)RoyaleSprx Wrote:
Quote:This code read the variable "SET_PLAYER_MAX_ARMOUR" and kick the players with edited variable 
Code:
void AutoKick_Modders2()
{
if (AutoKickMod2)
{
for (int i = 0; i < 16; i++)
{
int id = GET_PLAYER_PED(i);
if (id > 0 && id != PLAYER_PED_ID())
{
if (IsPlayerModder(i))
{
KickNonProHost(i);
}
}
}
}
}

nice release !
Thanks brother!

(07-19-2019 - 06:43 PM)NoNameV2345 Wrote:
(07-19-2019 - 05:27 PM)RoyaleSprx Wrote:
Quote:This code read the variable "SET_PLAYER_MAX_ARMOUR" and kick the players with edited variable 
Code:
void AutoKick_Modders2()
{
if (AutoKickMod2)
{
for (int i = 0; i < 16; i++)
{
int id = GET_PLAYER_PED(i);
if (id > 0 && id != PLAYER_PED_ID())
{
if (IsPlayerModder(i))
{
KickNonProHost(i);
}
}
}
}
}
IsPlayerModder ?
Updated Post

Code:
i think better is
if (GET_PLAYER_MAX_ARMOUR(i) > 50)...
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
Reply
#6
where is my credits? this u got from my sprx source(revoke sprx)
Reply
#7
(07-19-2019 - 07:36 PM)WesleyMarcos_ Wrote: where is my credits? this u got from my sprx source(revoke sprx)


whoever passed me did not tell me where I came from, I'm not going to gift you credits
Reply
#8
lol u got this from my source and without credit, lecheer detected :)
Reply
#9
(07-19-2019 - 07:39 PM)WesleyMarcos_ Wrote: lol u got this from my source and without credit, lecheer detected :)


I do not have your trash source on my computer clown
Reply
#10
yeah right, is trash but did u copy and paste from source lmaooo
Reply

Users browsing: 2 Guest(s)