Liiiil Help +rep
#1

Error:
gamemodes\SAC.pwn(494) : error 022: must be lvalue (non-constant)

LINE:
gunshop2 = CreatePickup(1254, 23, 653.4415,-542.7672,16.3281,85.3129);

just a lil error so any one?
Reply
#2

the last coordinate must be interior
wiki.sa-mp.com/wiki/CreatePickup
Reply
#3

edit:
still giving errors Virtual Worlds Setted to 0
Reply
#4

nvm fixed it by my self instead of = i used ==
Reply
#5

G'z.
Reply
#6

Sure.

The createpickup syntax is like this.

Код:
CreatePickup(modelid, pickuptype, x-coordinate, y-coordinate, z-coordinate, worldid);
Yours is.
pawn Код:
CreatePickup(1254, 23,   653.4415, -542.7672, 16.3281, 85.3129,  0);
               ^   ^        ^           ^       ^         ^     ^
            model  type   x-pos      y-pos     z-pos    WTF??   worldid
See the problem? Hope I helped.
Reply
#7

fixed it by my self anyways + REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)