Posts: 63
Threads: 12
Joined: Jun 2012
Reputation:
0
Hello! May you please help me fix 2 warnings? :/
error 001: expected token: ";", but found "return"
warning 204: symbol is assigned a value that is never used: "Shop"
Line which gaved me problems:
return 1;
Yeah, its wierd, because this line have only this, but it still gives me 2 errors :S
Posts: 61
Threads: 14
Joined: Apr 2012
Reputation:
0
show us a little more ,maybe that part of script.
Posts: 217
Threads: 26
Joined: Oct 2011
Reputation:
0
Show the line before the return.
Posts: 63
Threads: 12
Joined: Jun 2012
Reputation:
0
Thanks for advice, but now it gives me this:
warning 204: symbol is assigned a value that is never used: "Shop"
Posts: 217
Threads: 26
Joined: Oct 2011
Reputation:
0
You never use it after creating the pickup, like to destroy it, so it's not needed. You can just remove 'shop' when creating the pickup and remove the global variable of it, in-less you're planning to use it somewhere else.
Posts: 63
Threads: 12
Joined: Jun 2012
Reputation:
0
Well, I removed that ''Shop'' and now works fine, except thing that I want to give name for that marker. Now it's just a marker, without name, people wont know what is in there :/