I named the package asdf, but in the console it refuses to execute because it hates A's.
activatepackage(##a##sdf);
What do?
Edit: This happens around the same spot for each name (the first letter, for example; ##g##rapefruit.)[/s]
I'm an idiot.
//packaging, yo
package grapefruit
{
function OnGameConnection::onClientEnterGame(%client)
{
%client.gold = 20;
}
}[b];[/b]
//end of packaging
activatepackage("grapefruit");
function getgold(%client)
{
%client.bottomPrint(%client.gold, 3);
}
The error is
Unable to find object: '' attempting to call function 'bottomPrint'
I don't know the best way of getting the object, so I assumed I could assign a variable to the client.
I still want the variable to be client sided and kept on death.