need some easy help..
im a noob that started learning AMXX and i made a new plugin (yes i aslo used info from the tutorial and stuff) and i got a problem..
here is the script: Code:
#include <amxmodx>" -Client with that name or userid not found -no such play " |
Code:
Code:
|
thanks :)
now i have another problem :\ i wanted to make my script abit more usefull so i added a speed function: Code:
when i compile it i get 2 warnings: in line 105 - warning 213 tag mismatch in line 111 - warning 213 tag mismatch line 105 = "new player = cmd_target(id, arg, 4)" line 111 = "set_user_maxspeed(player,spdf)" plz help ^^ oh and.. can u plz tell me how to do that the speed wont reset every time i change weapon? :\ |
Change new float:spd[5] to new spd[5]. Change new float:spdf to new Float:spdf.
As for the speed thing, you'll have to register the CurWeapon event and reset their speed each time it comes up, which means you'll have to store somewhere what their speed should be. |
can u suggest a way? :\
|
| All times are GMT -4. The time now is 23:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.