31.03.2012, 13:29
Hi guys, I was creating some pickups...... when i created a health pickup i got a error(Property does not exit), so plz help me to fix it.....
![](http://i39.tinypic.com/jhsx9i.png)
![](http://i39.tinypic.com/jhsx9i.png)
![](http://i39.tinypic.com/23jg7jo.png)
new Pickup; |
Pickup = CreatePickup(1240,2,2485.3269,-1631.4274,23.3649); |
if(pickupid == Pickup) { SendClientMessage(playerid, COLOR_PINK, "Your Health have been refilled"); SetPlayerHealth(playerid, 100); } return 1; } |
CreatePickup(1240,2,2485.3269,-1631.4274,23.3649);; // Health
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == 0) SetPlayerHealth(playerid, 100.0);
return 1;
}