01.09.2009, 18:32
top of script
new infopickup;
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == infopickup)
{
SendClientMessage(playerid, 0xFFFF00AA, "yay brett7!");
}
return 1;
}
onplayer spawn
addstaitcpickup(id, x, y ,z, etc)
lux got there first but its the main idea
new infopickup;
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (pickupid == infopickup)
{
SendClientMessage(playerid, 0xFFFF00AA, "yay brett7!");
}
return 1;
}
onplayer spawn
addstaitcpickup(id, x, y ,z, etc)
lux got there first but its the main idea