SA-MP Forums Archive
Problem - 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: Problem (/showthread.php?tid=80652)



Problem - joeri55 - 05.06.2009

Hello guys,

I've got a problems
http://pastebin.com/m459103d

If I walk over the 'I' sign nothing happens. Not even a message pops up.

Quote:

public OnPlayerPickUpPickup(playerid, pickupid)
{
new coordsstring[256];
if(pickupid == PickUpD)
{
GameTextForPlayer(playerid,"~b~Use /buydrugs or /deliverdrugs",2000,1);
format(coordsstring, sizeof(coordsstring), "DrugHouse: [%d]", drugsfill);
SendClientMessage(playerid, 0xB30000F6,coordsstring);
}
return 1;
}

And does anyone has a idea how to make a /selldrugs [id] [amount] [price]
And a /accept drugs?