ItsMods

Full Version: Need help with modding
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8
(03-27-2011, 16:41)cash25 Wrote: [ -> ]My other account is banned for spamming when i wasn't spamming (I send d0h! an pm but he's offline now).
I changed the code to self takeallweapons but when i check it now I got the message: 30: code after end is ignored. I don't know why I can't find a problem in my code..

Anti-Spam plugin is disabled now.
(03-27-2011, 16:41)cash25 Wrote: [ -> ]My other account is banned for spamming when i wasn't spamming (I send d0h! an pm but he's offline now).
I changed the code to self takeallweapons but when i check it now I got the message: 30: code after end is ignored. I don't know why I can't find a problem in my code..

Was the same with me today Wink
(03-27-2011, 17:25)Tomsen1410 Wrote: [ -> ]
(03-27-2011, 16:41)cash25 Wrote: [ -> ]My other account is banned for spamming when i wasn't spamming (I send d0h! an pm but he's offline now).
I changed the code to self takeallweapons but when i check it now I got the message: 30: code after end is ignored. I don't know why I can't find a problem in my code..

Was the same with me today Wink
but, can you find the problem?
(03-27-2011, 17:58)cash13 Wrote: [ -> ]
(03-27-2011, 17:25)Tomsen1410 Wrote: [ -> ]
(03-27-2011, 16:41)cash25 Wrote: [ -> ]My other account is banned for spamming when i wasn't spamming (I send d0h! an pm but he's offline now).
I changed the code to self takeallweapons but when i check it now I got the message: 30: code after end is ignored. I don't know why I can't find a problem in my code..

Was the same with me today Wink
but, can you find the problem?

Did u try it already?
Cause the Syntax Checker not always is right.
(03-27-2011, 18:00)Tomsen1410 Wrote: [ -> ]
(03-27-2011, 17:58)cash13 Wrote: [ -> ]
(03-27-2011, 17:25)Tomsen1410 Wrote: [ -> ]
(03-27-2011, 16:41)cash25 Wrote: [ -> ]My other account is banned for spamming when i wasn't spamming (I send d0h! an pm but he's offline now).
I changed the code to self takeallweapons but when i check it now I got the message: 30: code after end is ignored. I don't know why I can't find a problem in my code..

Was the same with me today Wink
but, can you find the problem?

Did u try it already?
Cause the Syntax Checker not always is right.
yes i did but I got the same error as the day before yesterday
(click for the error)
(03-27-2011, 18:04)cash13 Wrote: [ -> ]
(03-27-2011, 18:00)Tomsen1410 Wrote: [ -> ]
(03-27-2011, 17:58)cash13 Wrote: [ -> ]
(03-27-2011, 17:25)Tomsen1410 Wrote: [ -> ]
(03-27-2011, 16:41)cash25 Wrote: [ -> ]My other account is banned for spamming when i wasn't spamming (I send d0h! an pm but he's offline now).
I changed the code to self takeallweapons but when i check it now I got the message: 30: code after end is ignored. I don't know why I can't find a problem in my code..

Was the same with me today Wink
but, can you find the problem?

Did u try it already?
Cause the Syntax Checker not always is right.
yes i did but I got the same error as the day before yesterday
(click for the error)
I think I know what to do with the message in syntax checker, I tried to make a new mod and get an error (the same as the other one) so I looked for the number of the line which has the same number as in the error.in that line I searched for some errors in my code at that rule number, found one, checked again and syntax checker says: Done, No syntax errors detected! Smile
but this was the new mod I tried to make but I still can't load it, and with the previous mod I still get a syntax error: 125: code after end is ignored, but this time I can't find an error at line 125, maybe you can find it (the numbers before the code are the rule numbers):
PHP Code:
123. getRankXPCappedinRankXp )
124. }
125. if ( ( isDefinedlevel.rankXpCap ) ) && level.rankXpCap && ( level.rankXpCap <= inRankXp ) )
126.     
127.     
{
128.    return level.rankXpCap;
129.     }
130.     
131.     
{
132.     return inRankXp;
133.     
Did u change there something?
(03-29-2011, 19:32)Tomsen1410 Wrote: [ -> ]Did u change there something?
no but in the other new mod i didn't change something too but that one is good now.
than thats a mistake of the Syntax Checker.
(03-29-2011, 19:45)Tomsen1410 Wrote: [ -> ]than thats a mistake of the Syntax Checker.
but I can't load my mods but I can load other mods. I compare my mod with another mod but i can't find the difference.
Pages: 1 2 3 4 5 6 7 8