Hey Guys i have a doubt, why this is don't work properly:
while(!isnight()){
bonus bInt,50;
sleep2 1500;
}
bonus bStr,50;
When is at night give to the player 50 int points, but, when i change to morning the item don't refresh itself to the other part of the code. But, when I remove and equip again the item, then give me correctly 50 str points.
This is my question... have a script to refresh itself the item? When day give me 50 str points, and when at night, the item refresh, then give me 50 int points.
Hey Guys i have a doubt, why this is don't work properly:
while(!isnight()){
bonus bInt,50;
sleep2 1500;
}
bonus bStr,50;
When is at night give to the player 50 int points, but, when i change to morning the item don't refresh itself to the other part of the code. But, when I remove and equip again the item, then give me correctly 50 str points.
This is my question... have a script to refresh itself the item? When day give me 50 str points, and when at night, the item refresh, then give me 50 int points.
Share this post
Link to post
Share on other sites