11.06.2011, 01:05
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_JUMP)
{
for(new i = 0; i < MAX_INTERIORS; i++)
{
if(pickupid == PickupID[i])
{
OnPlayerPickUpPickup(playerid, PickupID[i]);
}
}
}
}