a little help with a error
hy all,i am new on this forum and just learning some things:) . i am tryng to make myselef a plugin that addes extra life,armour,speed,gravity ,but when i try to compile this code i get the next error:
/home/groups/amxmodx/tmp3/php14L84z.sma(21) : error 035: argument type mismatch (argument 2) here is my code : Code:
#include <amxmodx> |
Re: a little help with a error
Your mismatching menu code.
Code:
when your suppose to use menu_create |
Re: a little help with a error
works now but i got a problem , when i chose speed and change my weapon my speed is normal again so i did this:
Code:
public speed(id) |
Re: a little help with a error
Quote:
|
Re: a little help with a error
2 Attachment(s)
Hi, maybe take a look at my plugin..there is a solution for your problem ;)
http://forums.alliedmods.net/showthread.php?t=53603 greetz regalis Hi bmann, here is the new version of amx_super and unlimited Ammo... ;) |
Re: a little help with a error
here is what i mayd...dunno why its not working :),i mayd a new variable : viteza and in my public speed(id) if the user buys spees then viteza =1 and in my public check(id) i am test if the user changes the weapon if viteza=1 but doesent work...some help pls.
Code:
#include <amxmodx> |
Re: a little help with a error
register the curweapon event like this..
Code:
Make vietza an array like this.. Code:
and then change all the vietza references to.. Code:
Why in the check function are you checking if the user has a knife and giving them the same speed either way? and why are all the max speeds 0.0?.. |
Re: a little help with a error
works :) ty all
|
| All times are GMT -4. The time now is 06:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.