boeyskie Posted June 4, 2019 Share Posted June 4, 2019 How can I check if a player has 5 spirit balls? Or soul collect is active? Quote Link to comment Share on other sites More sharing options...
2 anacondaq Posted June 4, 2019 Share Posted June 4, 2019 script_commands.txt --------------------------------------- *addspiritball <count>,<duration>{,<char_id>}; Adds spirit ball to player for 'duration' in milisecond. --------------------------------------- *delspiritball <count>{,<char_id>}; Deletes the spirit ball(s) from player. --------------------------------------- *countspiritball {<char_id>}; Counts the spirit ball that player has. --------------------------------------- 1 Quote Link to comment Share on other sites More sharing options...
0 boeyskie Posted June 5, 2019 Author Share Posted June 5, 2019 12 hours ago, anacondaq said: script_commands.txt --------------------------------------- *addspiritball <count>,<duration>{,<char_id>}; Adds spirit ball to player for 'duration' in milisecond. --------------------------------------- *delspiritball <count>{,<char_id>}; Deletes the spirit ball(s) from player. --------------------------------------- *countspiritball {<char_id>}; Counts the spirit ball that player has. --------------------------------------- Thank you it is exactly what I need!!!!!!!!!!!!1 Quote Link to comment Share on other sites More sharing options...
-1 Naruto Posted June 4, 2019 Share Posted June 4, 2019 3 hours ago, boeyskie said: How can I check if a player has 5 spirit balls? Or soul collect is active? sd->spiritball == 5 tsc && tsc->data[SC_STATUS] Quote Link to comment Share on other sites More sharing options...
How can I check if a player has 5 spirit balls? Or soul collect is active?
Link to comment
Share on other sites