Hello, i have this code (i can't post it all for some reason's) :
Code:
new Float:WallStatus[33][3]
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /wallhack", "WallOnOff")
// ....
}
public client_disconnect(id) {
WallStatus[id][1] = 0.0
}
public WallOnOff(id)
{
if((WallStatus[id][1] = 0.0))
{
WallStatus[id][1] = 1.0;
}
else
{
WallStatus[id][1] = 0.0;
}
}
public Wallhack(id, walls)
{
if(is_user_alive(id) && (WallStatus[id][1] = 1.0))
{
// ...
}
}
The problem its cannot check if WallStatus[id][1] is 1.0 or 0.0, i tested the code without /wallhack switch and its worked with no problems but nothing happen when use this client command : /wallhack
what i missing?? please help

