(07-19-2019 - 05:19 PM)RoyaleSprx Wrote:why loop?This code spoof the variable "SET_PLAYER_MAX_ARMOUR" to 50 so that no menu will detect you as modderQuote:Code:if (MenuID)
{
SET_PLAYER_MAX_ARMOUR(PLAYER_ID(), 50);
}
else
{
SET_PLAYER_MAX_ARMOUR(PLAYER_ID(), 2440);
}
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-19-2019 - 06:42 PM)NoNameV2345 Wrote:why loop?Too Many Quotes (Click to View)
to create a checkbox that has its on = 50 and its off = to the id of your menu there may be other ways to do it but this is one of the most optimal
(07-20-2019 - 05:48 PM)trinity7 Wrote: or u could just do this, no need to add toggles lol.....
PLAYER::SET_PLAYER_MAX_ARMOUR(PLAYER::PLAYER_ID(), SPOOF)); // Hook
int SPOOF = 50; // Variable
And then add individual options to change the value to what u want. for example
MenuOption("Menu Name");
switch (SwitchSelectedOption()) { case 1: { SPOOF = 1337; } break; } break; // Option u can do the rest ur self
but what are you hesitating about? I create a swithc to spoof a menu I think it's very silly the switch options made so that your menu is detected as another but I have something of a head, and I think before opening my mouth
==========================================================================
PHP, HTML coder
C++, C# coder
Royale SPRX owner/developer
![[Image: busbunny.png]](https://lh3.googleusercontent.com/-vgsy9gbuYI8/XIGIN3XJKLI/AAAAAAAAAOU/1Qz7I4uSW60d1yDE8_5jnxXnESorKEIEACEwYBhgL/w139-h140-p/busbunny.png)
ToXiCk-$x$x#5002
==========================================================================
(07-20-2019 - 05:52 PM)RoyaleSprx Wrote:Too Many Quotes (Click to View)
but what are you hesitating about? I create a swithc to spoof a menu I think it's very silly the switch options made so that your menu is detected as another but I have something of a head, and I think before opening my mouth
or you could run it in an array
Users browsing: 1 Guest(s)