CreatePickup -
Wesley221 - 01.05.2011
Hey guys, can someone look what im doing wrong:
pawn Код:
new drift1;
new drift2;
new drift3;
new drift4;
drift1 = CreatePickup (1318, 14, -2685.4143,1435.3947,7.1016, -1);
drift2 = CreatePickup (1318, 14, -2679.8274,1437.0120,7.1016, -1);
drift3 = CreatePickup (1318, 14, -2675.3167,1437.6591,7.0938, -1);
drift4 = CreatePickup (1318, 14, -2670.4824,1439.7909,7.1016, -1);
When i compile, and go to this place, it doesnt show the arrow (ID 131

And it doesnt give any errors neither
Hope you guys can find it
~Wesley
Re: CreatePickup -
park4bmx - 01.05.2011
so you put
pawn Код:
//This at the top of your script
new drift1;
new drift2;
new drift3;
new drift4;
//and where did you put this ??
drift1 = CreatePickup (1318, 14, -2685.4143,1435.3947,7.1016, -1);
drift2 = CreatePickup (1318, 14, -2679.8274,1437.0120,7.1016, -1);
drift3 = CreatePickup (1318, 14, -2675.3167,1437.6591,7.0938, -1);
drift4 = CreatePickup (1318, 14, -2670.4824,1439.7909,7.1016, -1);
And also make sure your Coordinate are right
Re: CreatePickup -
Wesley221 - 02.05.2011
pawn Код:
--Top of script--
new drift1;
new drift2;
new drift3;
new drift4;
public OnGameModeInit()
drift1 = CreatePickup (1318, 14, -2685.4143,1435.3947,7.1016, -1);
drift2 = CreatePickup (1318, 14, -2679.8274,1437.0120,7.1016, -1);
drift3 = CreatePickup (1318, 14, -2675.3167,1437.6591,7.0938, -1);
drift4 = CreatePickup (1318, 14, -2670.4824,1439.7909,7.1016, -1);
And yes, the Coцrdinates are right, checked it twice with "Editor"
Re: CreatePickup -
Cameltoe - 02.05.2011
Quote:
Originally Posted by Wesley221
pawn Код:
--Top of script-- new drift1; new drift2; new drift3; new drift4;
public OnGameModeInit() drift1 = CreatePickup (1318, 14, -2685.4143,1435.3947,7.1016, -1); drift2 = CreatePickup (1318, 14, -2679.8274,1437.0120,7.1016, -1); drift3 = CreatePickup (1318, 14, -2675.3167,1437.6591,7.0938, -1); drift4 = CreatePickup (1318, 14, -2670.4824,1439.7909,7.1016, -1);
And yes, the Coцrdinates are right, checked it twice with "Editor"
|
Is world -1 for all worlds? otherwise set it to 0, Also check :
https://sampwiki.blast.hk/wiki/PickupTypes
Re: CreatePickup -
Wesley221 - 02.05.2011
Yeah, its for every world
Also i know it's just for cars; thats what i want
Re: CreatePickup -
park4bmx - 02.05.2011
Everything looks fine there is one more thing if you have too many pickups you would need a streamer
Re: CreatePickup -
Wesley221 - 02.05.2011
What is the max of pickups, and what is a streamer?
Edit:
Found a steamer (
MidoStream), if i put all the files where it belongs, i can just make unlimited Pickups?
Another Edit:
Found out that MidoStream is just for objects, anyone knows a Streamer for pickups?
Thanks!
Re: CreatePickup -
park4bmx - 02.05.2011
You can use
THIS Streamer Plugin v2.5.2 it can streame PickUps
And the Max_Pickups are:
2048 you can see it
HERE
but i dont think you would reache that Amount
Re: CreatePickup -
Wesley221 - 04.05.2011
Well, i just installed it; and checked the location of the pickups i made
They're still not showing up..
Re: CreatePickup -
Jochemd - 04.05.2011
Somehow pickups do not show far in the sea. I know this problem and it's not your script but a SA-MP bug