what is wrong?
Code:
#include <amxmodx> Code:
error 035: argument type mismatch (argument 2) |
Re: what is wrong?
You have to properly retrieve the value of a cvar.
Read https://wiki.alliedmods.net/Scripting_Cvars_(AMX_Mod_X) |
Re: what is wrong?
that not work
if(!equal(szIP, get_pcvar_num(cvar_ip)) |
Re: what is wrong?
Try get_pcvar_string.
|
Re: what is wrong?
The cvar value is a string, the IP is a string, so get the string from the cvar and compare strings.
|
Re: what is wrong?
this is hard to make it...
|
Re: what is wrong?
Really? If this is hard for you, retire yourself from programming. You know what the problem is? You've at least tried and are waiting for someone to do it for you, but, that's where you fell off the horse, because no one here is going to help you with that, or rather, they've already helped you.
|
Re: what is wrong?
What you miss is that to him this simple task looks like an UFO since he is not a programmer
PHP Code:
|
Re: what is wrong?
Quote:
|
Re: what is wrong?
It is not work because you do not register test( ) function.
|
All times are GMT -4. The time now is 09:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.