Alright, so I'm making a script for a Gun Game so I don't have to event it all. But the script is being uncooperative and I can't find out why. When I type /gungameon nothing happens and I checked the console.log and found this...
function serverCmdgungameon(%client)
{
^if(%client.isSuperAdmin)
^^{
^^^chatMessageAll(%client, "\c6Gun Game Enabled!", 3);
^^^activatePackage(GunGame);
^^}
};##
##
function serverCmdgungameoff(%client)
{
^if(%client.isSuperAdmin)
^^{
^^^deactivatePackage(GunGame);
^^^chatMessageAll(%client, "\c6Gun Game Disabled!", 3);
^^}
};
package GunGame
{^^
^function twoscore(%client,%player)
^{
^^if(%client.score == 2)
>>> Error report complete.
Now if I fiddle around with the script, I end up with this...
function serverCmdgungameon(%client)
{
^if(%client.isSuperAdmin)
^^{
^^^chatMessageAll(%client, "\c6Gun Game Enabled!", 3)
^^^activatePackage(##G##unGame)
^^}
};
function serverCmdgungameoff(%client)
{
^if(%client.isSuperAdmin)
^^{
^^^deactivatePackage(GunGame);
^^^chatMessageAll(%client, "\c6Gun Game Disabled!", 3);
^^}
};
package GunGame
{^^
^function twoscore(%client,%player)
^{
^^if(%client.score == 2)
>>> Error report complete.
What am I doing wrong?