Quote:
|
Originally Posted by raiden0899
Instead of telling me I'm wrong, try helping. The only way I can think of is to have some of the script clientsided and use triggeraction. If thats too insecure then tell me how I could do it serverside.
|
Instead of telling me that isn't a good enough reason, like you are the all knowing scripter, maybe you should have asked me why it's a good enough reason.
Everything doesn't have to be serverside, just the important stuff. Stuff like a GUI is going to be clientside, but it should be reading from clientr variables for the stats it displays.
If you're going to have weapons that do various damage, you can't have those damages set as parameters in the triggeraction. You have to detect what type of attack it is serverside. Otherwise a cheater could edit the damage value of the clientside damage trigger to make the weapon more powerful.
You should also never use client. strings for storing important data. You HAVE to use clientr., the r being "read only" which means the client can only read a clientr string, but cannot edit it.