Quote:
Originally Posted by Konstantinos
Why not just:
pawn Code:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == ls) { GivePlayerMoney(playerid, 150000); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); } return 1; }
instead of checking if the pickupid is ls three times?
|
Haha! It is on it's quicker and easier.
To try!