he didnt say he wanted to change the ap though...just use it as a guide line for hunger....try this
if (playerenters){
toweapons -Hungry Man;
timeout=1;
this.hunger=players[0].ap;
}
if (timeout){
if (this.hunger<players[0].ap){
this.hunger=players[0].ap;
<show hunger status bar if you have one>
}
timeout=1;
}
this should work, but ap goes up at different speeds depending on your current ap...
