05-07-2009, 05:28 PM
I see a lot of stuff you're doing wrong 
Anyway, let me explain you a few stuff. First of all no need to define #pickupid and #playerid etc. These are parameters in the callback. Plus Pawn is a case-sensitive scripting language, using Public won't work, use public (no capital).
Also, read this: http://wiki.sa-mp.com/wiki/PickupGuide
Euhm, I see a lot more going wrong, when defining something, don't use new something, use new something; (don't forget the ';').
I probably forgot a lot, but I'm busy. Reading this will help a lot: http://wiki.sa-mp.com/wiki/PickupGuide and maybe: http://wiki.sa-mp.com/wiki/Scripting_Basics.
Good luck with it, and feel free to post here if you have more questions.

Anyway, let me explain you a few stuff. First of all no need to define #pickupid and #playerid etc. These are parameters in the callback. Plus Pawn is a case-sensitive scripting language, using Public won't work, use public (no capital).
Also, read this: http://wiki.sa-mp.com/wiki/PickupGuide
Euhm, I see a lot more going wrong, when defining something, don't use new something, use new something; (don't forget the ';').
I probably forgot a lot, but I'm busy. Reading this will help a lot: http://wiki.sa-mp.com/wiki/PickupGuide and maybe: http://wiki.sa-mp.com/wiki/Scripting_Basics.
Good luck with it, and feel free to post here if you have more questions.