17.01.2012, 04:58
always have the wiki page open when scripting: https://sampwiki.blast.hk/wiki/CreatePickup
parameters: (model, type, Float:X, Float:Y, Float:Z, Virtualworld)
you inserted some too much parameters, your coordinates are:
CreatePickup(1239, 1677.1301,-2327.2786,13.5469,359.2570, -1); (THIS IS LINE 100)
and indeed the 1239 as model. the 359,2570 looks like a rotation, its not needed here. you want the pickup being picked up on foot? then type 23 is the best way to stick to:
parameters: (model, type, Float:X, Float:Y, Float:Z, Virtualworld)
you inserted some too much parameters, your coordinates are:
CreatePickup(1239, 1677.1301,-2327.2786,13.5469,359.2570, -1); (THIS IS LINE 100)
and indeed the 1239 as model. the 359,2570 looks like a rotation, its not needed here. you want the pickup being picked up on foot? then type 23 is the best way to stick to:
pawn Код:
CreatePickup(1239, 23, 1677.1301, -2327.2786, 13.5469, -1);

