07.09.2013, 09:33
Why not just:
instead of checking if the pickupid is ls three times?
pawn Code:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == ls)
{
GivePlayerMoney(playerid, 150000);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
}
return 1;
}