CreatePickup error
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
Do you have a #define jobtownhall or something? The errors lead me to believe you have something like:

PHP код:
#define jobtownhall 1 
which would then compile to:

PHP код:
new 1;
CreatePickup(/* ... */
And then the errors make sense. The 001 refers to the 1 on the first line, which is an invalid variable name. The 022 refers to the 1 on the second line, saying that it must be a variable instead of a constant value.
Yes I do have something like this.


Код:
#define jobtownhall 1
EDIT

Код:
C:\Users\Fishy\Desktop\New folder (2)\gamemodes\ROLEPLAY.pwn(93) : warning 204: symbol is assigned a value that is never used: "jobtownhall"

This is the only error I'm getting at the moment
Reply


Messages In This Thread
CreatePickup error - by FishyZ - 21.06.2016, 20:46
Re: CreatePickup error - by F1N4L - 21.06.2016, 20:48
Re: CreatePickup error - by FishyZ - 21.06.2016, 20:53
Re: CreatePickup error - by F1N4L - 21.06.2016, 20:57
Re: CreatePickup error - by Stinged - 21.06.2016, 20:58
Re: CreatePickup error - by FishyZ - 21.06.2016, 21:03
Re: CreatePickup error - by Stinged - 21.06.2016, 21:06
Re: CreatePickup error - by FishyZ - 21.06.2016, 21:08
Re: CreatePickup error - by Vince - 21.06.2016, 21:08
Re: CreatePickup error - by FishyZ - 21.06.2016, 21:10

Forum Jump:


Users browsing this thread: 1 Guest(s)