Posts: 98
Threads: 30
Joined: Aug 2009
Reputation:
0
Hi I am creating a lan server but I am relatively new to Pawno so if you can be specific with this one that would help a lot. But anyways I searched up my question and it seems very easy to make your car flip using /flip but I am looking for a way to make it flip using the alt key. I know it can be done because I've been in a couple of servers that do it that way. Thanks very much for your help.
Posts: 44
Threads: 12
Joined: Mar 2009
Reputation:
0
Im not sure but maybe rotate it 180?
Posts: 98
Threads: 30
Joined: Aug 2009
Reputation:
0
Thanks for the input. I know that aspect of it (generally... dont know how to code it) all I have to do for that part is reset z angle (im pretty sure). But the part I don't know is how to control it by using the alt key.
Posts: 98
Threads: 30
Joined: Aug 2009
Reputation:
0
Thanks I'll try that out and let you know how it goes
Posts: 98
Threads: 30
Joined: Aug 2009
Reputation:
0
After trying to compile I get this:
C:\Documents and Settings\Administrator\Desktop\sampserver\filtersc ripts\altflip.pwn(181) : error 022: must be lvalue (non-constant)
C:\Documents and Settings\Administrator\Desktop\sampserver\filtersc ripts\altflip.pwn(181) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\sampserver\filtersc ripts\altflip.pwn(181) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrator\Desktop\sampserver\filtersc ripts\altflip.pwn(181) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\sampserver\filtersc ripts\altflip.pwn(181) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
If I am not mistaken... it's a filterscript right? So to make a filterscript you uncomment the #define filterscript at the top... and that's all to turn it into a filterscript right?
Posts: 98
Threads: 30
Joined: Aug 2009
Reputation:
0
Ok will use the edit button
Thanks sooo much for your help it helped a lot. But I have one last question, the alt works at resetting the z angle, but is it possible to also make them appear like, a foot above where they were? Because when the angle alone is repositioned it tends to glitch up in certain spots form what I've found on other servers... so I think that making them appear I tiny bit higher so they don't appear half way in the ground would fix it.
its not exactly like resetting the z axis, more like adding on a bit, which is something I have no idea how to do.