Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Pickupo sukūrimas:
- health = CreatePickup(1240, 2, 1540.2354,678.8561,10.8203);
- Kodas:
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == health)
- {
- SetPlayerHealth(playerid, 200);
- SendClientMessage(playerid, -1, "{FF0000}[HP!]{FFFFFF}" " PASIEMIAI 200HP!");
- }
- STOCK'AS:
- stock GetPlayerHealthEx(playerid)
- {
- new Float:Health;
- GetPlayerHealth(playerid, Health);
- return health;
- }
Advertisement
Add Comment
Please, Sign In to add comment