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
 4256

Check is player offradar

by Venom_Modz - 10-24-2018 - 06:04 AM
#21
(09-06-2020 - 08:37 PM)Kyle Wrote:
(09-03-2020 - 08:15 PM)Venom_Modz Wrote:
(10-24-2018 - 09:19 PM)Kyle Wrote: Eww it’s not in a switch statement, any real dev would have it run in switches
there is that better?

Code:
char* checkOffTheRadar(int player)
{
int hashed = getPlayerStats1(player, 170);
switch (hashed) {
case 0: return "No"; break;
case 1: return "Yes"; break;
}

Code:
char* checkOffTheRadar(int player)
{
switch (getPlayerStats1(player, 170)) {
case 0: return "No"; break;
case 1: return "Yes"; break;
}


coul;d even do it like that, only a little less code but less code = more space :P
true i could of lol
Reply
#22
Hi guys today i am releasing check player off radar for info boxes enjoy
Reply

Users browsing: 2 Guest(s)