Posts: 344
Threads: 89
Joined: Sep 2010
Reputation:
0
How to do that HP, having experienced it, does not disappear because it disappears and so does not give me HP: 100
CreateDynamicPickup(1240, 1, X, Y, Z, -1); // HP
Posts: 1,297
Threads: 17
Joined: Apr 2011
if(pickupid == pickup)
{
SetPlayerHealth(playerid, 100);
}
Posts: 344
Threads: 89
Joined: Sep 2010
Reputation:
0
Yes, but it did not, disappeared as it passed through
[You Pickup name] = CreateDynamicPickup(1240, 23, X, Y, Z, -1);
Instead of
[You Pickup name] = CreateDynamicPickup(1240, 1, X, Y, Z, -1);
Posts: 344
Threads: 89
Joined: Sep 2010
Reputation:
0
To become, but why the first CreateDynamicPickup (1239, 1, X, Y, Z, -1);
Having gone through it disappears, and should not disappear