what does the % do?
edit: nvm i understand that now, but then it stops at the leftview.
which i already could accomplish with a for loop myself, and it should keep spinning, untill i stop it by pressing D again.
editedit: nvm i didn't understand how the loop worked.
PHP Code:
//#CLIENTSIDE
function onWeaponFired()
{
if(this.lol == 0)
{
this.lol = 1;
settimer(0.1);
}
else if (this.lol == 1)
{
settimer(0);
this.lol = 0;
}
}
function onTimeOut()
{
for(player.dir = 0; playerdir<4; playerdir++)
sleep(0.1);
settimer(0.1);
}
thanks for the help.
