try this bro, For a Beginning [pawn]#define JACK_WHITE 0xFFFFFFAA // Copypast to your pwn file[/pawn]
1st Step. To add pickup ( put in gamemod init )[pawn]AddStaticPickup (1, 410, -442.8760, -315.8749, 11.1867); // Hidden Package[/pawn]
2nd Step. to make a function of the pickup [pawn]public OnPickedUp(playerid,pickupid)
{
if ( pickupid == 1) // Function of 1st pickup
{
SetPlayerMoney(playerid,GetPlayerMoney(playerid) + 5000); // +5.000$ to the cash
SendClientMessage(playerid, JACK_WHITE, "You picked up hidden package! Award: 5000$");
}[/pawn]
U can add more pickup and can put pakeges functions like this one