|
Login to ZARP
|
|
|
Raeker wrote:
EMP wrote:
Basically what the code is meant to say is that if xnator is present then shitty memes are also present and his karma is 0 but if the karma gets lower then 0, he gets banned You guys both fucked up your Java by declaring your variables inside an if statement come on now. Thats like basic programing 101 that what you declare inside an if statement is local to that scope. Is it bad that this sentence makes literally no sense to me? Lol |
|
|
Edited 8 years 11 months ago by el une spodermun.
Login or register to post a reply.
|
|
TheXnator wrote:
EMP wrote:
You guys both fucked up your Java by declaring your variables inside an if statement come on now. Thats like basic programing 101 that what you declare inside an if statement is local to that scope. Didn't realise that Pegasus did that. I didn't actually read it, I just moved the brace. int zarpforumreputation;
boolean banhammerXnator;
static void main(String[] Args)
{
if(TheXnatorPresence == true && ShittyMemes == true)
{
zarpforumreputation = 0;
}
if(zarpforumreputation <= 0)
{
banhammerXnator = true;
}
}Been a while since I did anything in Java, since I started learning Lua. You simply need programming experience to see that, not any specific language. Excuses are real tho also your int "zarpforumreputation" is really bad. It doesn't state which members reputation it is. You should have added an ID or something similar to that. |
|
|
ex-minecraft owner, zarp legend (Was there during the infancy of Zarp), ex-ssrp admin, ex-teamspeak emblem (For SSRP admin & minecraft owner)
Edited 8 years 11 months ago by catboy sven ツ.
Login or register to post a reply.
|
|
Lmaoo so tru , but java is ass
|
|
|
Login or register to post a reply.
|
|
Sad sad people...
|
|
|
Login or register to post a reply.
|
|
Aspect wrote:
TheXnator wrote:
The Zarp Forum reputation [OVERALL REPUTATION] gets bad through Xnator being present and by his shitty memes and if that happens... well he gets banned so the Zarp Reputation can get better again. EMP wrote:
You guys both fucked up your Java by declaring your variables inside an if statement come on now. Thats like basic programing 101 that what you declare inside an if statement is local to that scope. Didn't realise that Pegasus did that. I didn't actually read it, I just moved the brace. int zarpforumreputation;
boolean banhammerXnator;
static void main(String[] Args)
{
if(TheXnatorPresence == true && ShittyMemes == true)
{
zarpforumreputation = 0;
}
if(zarpforumreputation <= 0)
{
banhammerXnator = true;
}
}Been a while since I did anything in Java, since I started learning Lua. You simply need programming experience to see that, not any specific language. Excuses are real tho also your int "zarpforumreputation" is really bad. It doesn't state which members reputation it is. You should have added an ID or something similar to that. |
|
|
Login or register to post a reply.
|
|
>sir the joke was understood but...
THE CODE WAS IMPERFECT |
|
|
Edited 8 years 11 months ago by Studio Banter.
Login or register to post a reply.
|
|

