26.04.2010, 18:10
Ok guys, can you now help me?
I see this error: error 021: symbol already defined: "OnPlayerPickUpPickup". Can you guys fix it? These Armour, Health, HouseIcon and other works perfectly.
I see this error: error 021: symbol already defined: "OnPlayerPickUpPickup". Can you guys fix it? These Armour, Health, HouseIcon and other works perfectly.
Код:
//Health pickups public OnPlayerPickUpPickup(playerid, pickupid) { if (pickupid == Health) { SetPlayerHealth(playerid,100); GameTextForPlayer(playerid, "~y~You have found some health!", 5000, 3); } return 1; } //Armor pickups public OnPlayerPickUpPickup(playerid, pickupid) { if (pickupid == Armour) { SetPlayerArmour(playerid,100); GameTextForPlayer(playerid, "~y~You have found an armor!", 5000, 3); } return 1; }