Emmyson172 3 Odesláno: 6. Červen, 2015 Share Odesláno: 6. Červen, 2015 Potreboval by som vedieť že ak hrač zadá napr. prikaz /hp5 tak mu to zvíši HP iba o 5 čiže ak má 10 h a dá tento príkaz tak bude mať 15 Link to comment Share on other sites More sharing options...
0 Arthom 6 Odesláno: 6. Červen, 2015 Share Odesláno: 6. Červen, 2015 new Float:health; GetPlayerHealth(playerid, health); SetPlayerHealth(playerid, health + 5); Link to comment Share on other sites More sharing options...
0 BatisCorleone 1 Odesláno: 6. Červen, 2015 Share Odesláno: 6. Červen, 2015 do príkazu : new Float:HP; GetPlayerHealth(playerid,HP); //zistí koľko má HP ten hráč v momente keď zadá príkaz SetPlayerHealth(playerid,HP+5); //k zistenému HP mu pridá tých 5 hp o ktoré má jeho hp zvýšiť Link to comment Share on other sites More sharing options...
Dotaz
Emmyson172 3
Potreboval by som vedieť že ak hrač zadá napr. prikaz /hp5 tak mu to zvíši HP iba o 5 čiže ak má 10 h a dá tento príkaz tak bude mať 15
Link to comment
Share on other sites
2 odpovědí na tuto otázku
Recommended Posts