Setting movement speed depending on class [Day of Defeat]
I'm trying to write a plugin that makes the movement speed of certain classes slower or faster. I have three warnings that I would like to resolve before I move on with the plugin.
Code:
\movespeed.sma<20> : warning 213: tag mismatchCode:
#include <amxmodx>Thank you in advance for the help. |
Re: Setting movement speed depending on class [Day of Defeat]
Code:
public dod_client_spawn(id) |
Re: Setting movement speed depending on class [Day of Defeat]
Float: set_user_maxspeed ( index, [ Float:speed = - 1.0 ] )
Also you should probably use a little neater indenting so you don't have stacked branches that confuse yourself and give you errors. Use the amxmodx studio which has an auto indenter |
| All times are GMT -4. The time now is 21:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.