Having a bit of a problem. I'm having problems joining a class to a player when the log online.
Here's what I have so far, it just doesn't seem to interact with the player, at all.
HTML Code:
//#CLIENTSIDE
function onCreated()
{
player.join("player_weapon");
player.doAction({"drawMaps", "defaultStats"});
}
Inside the "
player_weapon"
HTML Code:
//#CLIENTSIDE
function onCreated()
echo("GOT THE MAIN CONTROL!");
public function doAction(actionNames)
for (temp.currentAction: temp.actionNames)
this.(@ temp.currentAction)();
Neither are being called... suggestions? thanks!