Timers Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Timers Help (
/showthread.php?tid=315106)
Timers Help -
Lynn - 01.02.2012
FIXED - THANK YOU ****** !!!!!!!!!
Solution: Needed to update the timers for ******
Re: Timers Help -
Unte99 - 01.02.2012
"shadows a variable at a preceding level" - means you have two variables called exactly the same. You can't have two variables named the same, when one is outside any callback or they are at the same place(callback, script). Hint: change something.
"symbol is never used" - self explained.
Re: Timers Help -
Lynn - 01.02.2012
Deleted
Re: Timers Help -
Unte99 - 01.02.2012
I'm not talking about the usage... I'm talking about the variable creation:
So you must have one or more like that and so as month and day.
Re: Timers Help -
Lynn - 01.02.2012
new year can be defined more then one time, as many times as you like;
As-long as they're all local variables, not global.
new year isn't defined(Ever) as a global.
Re: Timers Help -
Unte99 - 01.02.2012
Well the error is saying something else...
Try this, and you'll see it for yourself:
pawn Код:
new year1, month1, day1;
getdate(year1, month1, day1);
Re: Timers Help -
Lynn - 01.02.2012
Deleted
Re: Timers Help -
Unte99 - 01.02.2012
Quote:
Originally Posted by Lynn
That still doesn't explain why it's saying:
if(Player[i][pMsgSent2] == 0)
and many others.
Is a "Invalid Declaration"
When it's not...
|
Well a few warnings have been fixed I presume. Your'e welcome. And you should change the avatar to: sa-mp lack of resources.
Check the typing.
Re: Timers Help -
Lynn - 01.02.2012
1: Got rid of 1 error, that wasn't even a error, since it's defined one time(At that one place.)
2: My avatar is advertisement for a friends company.
3: Thanks for the effort.
Re: Timers Help -
Unte99 - 01.02.2012
Quote:
Originally Posted by Lynn
1: Got rid of 1 error, that wasn't even a error, since it's defined one time(At that one place.)
2: My avatar is advertisement for a friends company.
3: Thanks for the effort.
|
Got rid of 1 error, that wasn't even a error Fail 1
Thanks for the effort Fail 2 Hopeless.
I hope you will waste a lot of time with the script.