29.05.2009, 13:52
under gamemode init
mypickup = CreatePickup(id, type, x, y, z);
under public OnPlayerPickupPickup(playerid, pickupid)
{
if (pickupid == mypickup)
SendClientMessage(playerid, COLOR_WHITE, "message");
}
mypickup = CreatePickup(id, type, x, y, z);
under public OnPlayerPickupPickup(playerid, pickupid)
{
if (pickupid == mypickup)
SendClientMessage(playerid, COLOR_WHITE, "message");
}