My vary first plugin with loads of errors
Ok, I'm trying to make a plugin where it changes 1 persons gravity (don't tell me it's already made ok, i'm trying to learn :D) but i got loads of errors. Here's the code:
Code:
I know it has something to do with the set_user_gravity line though. What is the right way to do what i'm trying to do :D (sorry if i sound mean i'm in kinda a rush |
Scripting help forum fo a reason you know. :x
|
THE HELL~!? I thought i did post in the scripting help :oops: :?
can an admin move it to the right spot? :edit 1: Thank you |
change Float: set_user_gravity ( id, [ Float:gravity ] )
to set_user_gravity ( id, 0.3) |
no float?
|
Or just use this:
Code:
to use do like amx_gravity 1.0 (normal) amx_gravity 0.3 |
The "You have no access to this command" is automatically printed when you use the cmd_access function.
|
Ah, I had the same problem as this guy when I tried making the same plugin. I never could work out what to do :0/
I'm gonna see if I can get it working using pimpdaddy's method. |
| All times are GMT -4. The time now is 19:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.