Thread: Gravity Script
View Single Post
  #14  
Old 02-10-2004, 02:12 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
Quote:
Originally posted by Python523

Stop calling my Python x.X
What do I call you then? (I only see your account, yet nothing indicated whom you like being called.)

Quote:
Originally posted by Genesis
Dude if you dont stop being a Wannabe cuz thats what you are i am going to s**** you.
Quote:
Originally posted by WanDaMan
Read--->Think--->Post
... You should follow the advice in which you quoted.

As for the script in question, I'll check it out now.

NPC Code:

toweapons *Gravity;



Just BECAUSE this is here, it shouldn't go online.

You have no //#CLIENTSIDE

You should learn to indent.

NPC Code:

if ((velocity>0&&(onwall(playerx+0.5,playery+3)||onwa ll(playerx+1.5,playery+3)))||(velocity<0&&(onwall( playerx+0.5,playery)||onwall(playerx+1.5,playery)) )) playery=int(playery);
else playery+=velocity/6;
if ((velocity>0&&(onwall(playerx+0.5,playery+3)||onwa ll(playerx+1.5,playery+3)))||(velocity<0&&(onwall( playerx+0.5,playery)||onwall(playerx+1.5,playery)) )) playery=int(playery);
else playery+=velocity/6;
if ((velocity>0&&(onwall(playerx+0.5,playery+3)||onwa ll(playerx+1.5,playery+3)))||(velocity<0&&(onwall( playerx+0.5,playery)||onwall(playerx+1.5,playery)) )) playery=int(playery);
else playery+=velocity/6;
if ((velocity>0&&(onwall(playerx+0.5,playery+3)||onwa ll(playerx+1.5,playery+3)))||(velocity<0&&(onwall( playerx+0.5,playery)||onwall(playerx+1.5,playery)) )) playery=int(playery);
else playery+=velocity/6;
if ((velocity>0&&(onwall(playerx+0.5,playery+3)||onwa ll(playerx+1.5,playery+3)))||(velocity<0&&(onwall( playerx+0.5,playery)||onwall(playerx+1.5,playery)) )) playery=int(playery);
else playery+=velocity/6;
}



*blinks*

... Higher the standards of your own coding. If you can't do any better then this, you should go back to elementary to learn the fundamental basics.
__________________
- Rance Vicious
Reply With Quote