I just noticed that the current method to check, if a player is outside is silly. Just remove the mentioned lines.. Well, the ion cannon blasts away anything in C&C, so why check for being outside at all? ;)
Quote:
Originally Posted by lascage
The sound doesn't work in my css server.
Only le ion canon work, no the sound.
Can you remake this plugin for :
- Only admin root (z) can use this with command: !ioncannon.
- When the admin say !ioncannon, the ion canon is auto deployed at the admin position.
|
Did you had to download the sound files on connect? Check your cl_downloadfilter "all" setting. Try the alternative sounds version if you still got problems.
I think it's enough to have the sm_iongive command and place it with a weapon.
Quote:
Originally Posted by SpaceBass
A minute after I edited my post Thanks, but upon removal and I changed the weapon to crowbar just to see, it does nothing at all. Even if I have more than one and use the weapon multiple times it does not give this message:
Code:
if(g_iInfoTargetEntity[client] != -1)
{
CPrintToChat(client, "%sYou can only place one {red}ion cannon{green} at a time.", PREFIX);
}
Any help would be appreciated.
|
Are there any errors in the logs? Nothing at all? No output in chat?
__________________