CreatePickup error
#6

Quote:
Originally Posted by Stinged
Посмотреть сообщение
This error is shown when the variable is declared as a const.

For example:
Код:
const jobtownhall;
jobtownhall = CreatePickup(1239, 1,361.8299,173.5686,1008.3828, 0);
For it to work it should be:
Код:
new jobtownhall;
jobtownhall = CreatePickup(1239, 1,361.8299,173.5686,1008.3828, 0);

Код:
new jobtownhall;
jobtownhall = CreatePickup(1239, 1,361.8299,173.5686,1008.3828, 0); //this is /job pickup
and I'm getting these errors, the above are both line 93 and 94.

Код:
C:\Users\Fishy\Desktop\New folder (2)\gamemodes\ROLEPLAY.pwn(93) : error 001: expected token: "-identifier-", but found "-integer value-"
C:\Users\Fishy\Desktop\New folder (2)\gamemodes\ROLEPLAY.pwn(94) : error 022: must be lvalue (non-constant)
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)