SA-MP Forums Archive
Pickup not showing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pickup not showing (/showthread.php?tid=108593)



Pickup not showing - JoeDaDude - 14.11.2009

Hey i havent scripted ina long time so this might be really simple,
But anyway i created a pickup but it dosent show..

pawn Код:
new torranshouse;

torranshouse = CreatePickup(1273, 23, 3482.6670, -686.9516, 2.3716);

public OnPlayerPickUpPickup(playerid, pickupid)
{
if( pickupid == torranshouse) {
new string[50];
format(string, sizeof(string), "~r~Torrans House~n~~g~Beachhouse~n~Owned by~Torran~");
GameTextForPlayer(playerid, string, 3000, 5);
}
return 1;
}



Re: Pickup not showing - Virtual1ty - 14.11.2009

some stuff have changed, look this at wiki, maybe helps:

https://sampwiki.blast.hk/wiki/CreatePickup


Re: Pickup not showing - JoeDaDude - 14.11.2009

Still not

pawn Код:
torranshouse = CreatePickup(1273, 23, 3482.6670, -686.9516, 2.3716,-1);
This used to happen before 0.3 btw i just cant remember why and what i did to fix it


Re: Pickup not showing - JoeDaDude - 14.11.2009

Found problem! Coords are wrong :P