Problems with my pickups -
BizzyD - 13.05.2011
Hey, I got a problem with my pickups, They dont spawn. I did it correctly and it didnt compile with any errors.
This is the pickups on ongamemodeinit:
pawn Код:
iHouse1 = CreateDynamicPickup(1318, 23, 7490.5503, -103.2598, 65.0940);
iHouse2 = CreateDynamicPickup(1318, 23, 7484.1494, -123.5796, 65.0940);
iHouse3 = CreateDynamicPickup(1318, 23, 7503.4702, -108.2560, 65.0940);
iHouse4 = CreateDynamicPickup(1318, 23, 7507.2280, -90.8062, 65.2412);
iHouse5 = CreateDynamicPickup(1318, 23, 7482.1206, -64.1295, 65.0940);
iHouse6 = CreateDynamicPickup(1318, 23, 7460.9644,- 112.6029, 65.0940);
Is it maybe bcz i am out to far in the sea?
If so, Is there any way to fix this?
Re: Problems with my pickups -
MadeMan - 13.05.2011
Move the pickups closer to San Andreas
Re: Problems with my pickups -
BizzyD - 13.05.2011
I cant, Bcz the map is out far in the sea
Re: Problems with my pickups -
aqu - 13.05.2011
Try CreatePicup.
Код:
// On The Top
new iHouse1;
new iHouse2;
new iHouse3;
new iHouse4;
new iHouse5;
new iHouse6;
// On gamemodeinit
iHouse1 = CreatePickup(1318, 23, 7490.5503, -103.2598, 65.0940,-1);
iHouse2 = CreatePickup(1318, 23, 7484.1494, -123.5796, 65.0940,-1);
iHouse3 = CreatePickup(1318, 23, 7503.4702, -108.2560, 65.0940,-1);
iHouse4 = CreatePickup(1318, 23, 7507.2280, -90.8062, 65.2412,-1);
iHouse5 = CreatePickup(1318, 23, 7482.1206, -64.1295, 65.0940,-1);
iHouse6 = CreatePickup(1318, 23, 7460.9644, -112.6029, 65.0940,-1);
// Then in OnPlayerPickUpPickup
if(pickupid == iHouse1) { // If Player picups that picup
GivePlayerMoney(playerid,10000); // What he will get when he picup it
}
// and for all others if(pickupid == .......
Re: Problems with my pickups -
BizzyD - 13.05.2011
Already did with CreatePickup, Dont work either
Re: Problems with my pickups -
Famalamalam - 13.05.2011
Move the map closer... only way I'm afraid, lol.
Re: Problems with my pickups -
Fj0rtizFredde - 13.05.2011
Or use an object instead.

Then just create a custom callback to check if the player is near the object.
Re: Problems with my pickups -
BizzyD - 13.05.2011
What object should i use then lol :P
Re: Problems with my pickups -
Fj0rtizFredde - 13.05.2011
Haha the same 1318 ?
Re: Problems with my pickups -
Famalamalam - 13.05.2011
Quote:
Originally Posted by Fj0rtizFredde
Or use an object instead.  Then just create a custom callback to check if the player is near the object. 
|
Ha, that's ingenious. Never thought of that :P