Code:public void spawnmusic() { if (isInWilderness(absX, absY, 1) frame74(169); } if (isInAssault()) { frame74(7); } if (isInApe()){ frame74(15); } if (isInPitRoom() || isInPitGame()) { frame74(123); } }
|
Give sme 100 errors.. idk why..public void spawnmusic() {
if (isInWilderness(absX, absY, 1)
frame74(169);
}
if (isInAssault()) {
frame74(7);
}
if (isInApe()){
frame74(15);
}
if (isInPitRoom() || isInPitGame()) {
frame74(123);
}
Code:public void spawnmusic() { if (isInWilderness(absX, absY, 1) frame74(169); } if (isInAssault()) { frame74(7); } if (isInApe()){ frame74(15); } if (isInPitRoom() || isInPitGame()) { frame74(123); } }
If you don't understand what square pasted, add another bracket at the bottom
oh shet rofl, i did
}
{
Wuahaha sorry thanks for help guys!
NVM still 100 errors rofl..
Bracket in wrong area, you might want to post the full snippet, your missing the }.
Hint* When you open a bracket you always have to close it.
Oh crap didn't see that one
Oh btw, feel free to leech this, i also made the command for it in snippets, and ofcourse added the frame74(songid) void
This is how it's supposed to be done..
Tell me if you still get the errors.public void spawnmusic() {
if (isInWilderness(absX, absY, 1) {
frame74(169);
}
if (isInAssault()) {
frame74(7);
}
if (isInApe()){
frame74(15);
}
if (isInPitRoom() || isInPitGame()) {
frame74(123);
}
}
Edit: Nvm, didn't see that you fixed it , closed.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |