function serverCmdNew(%client){
%client.level = 1;
%client.gold = 25;
messageall('',"\c6 %client.name has began a new charactor!");
messageclient(%client,"","\c6You have a new charactor! You have \c4 %client.gold \c6 Gold and your level is \c4 %client.level\c6!");
}
Still not working.
But thanks for the help falcon.
And yes, I hate this dammin more then you.
While I'm at it, these don't work as well.
function serverCmdCheckLevel(%client %level){
messageclient(%client,"","\c6 You are level \c2%client.level.'')
}
//Leveling System (In progress)
//Max level = 4
{
if %client.level == 1;
{
if %client.xp == 10
%client.level ++ 1
messageclient(%client,"","\c6 You are now level 2!");
%client.ap ++ 5
}
else if %client.level == 2
{
if %client.xp == 25
%client.level ++ 1
messageclient(%client,"","\c6 You are now level 3!");
%client.ap ++ 6
}
else if %client.level == 3
{
if %client.xp == 50
%client.level ++ 1
messageclient(%client,"","\c6 You are now level 4!");
%client.ap ++ 7
}
}
//Small cheat for testing
function servercmdcheat(%client %ap)
{
%client.xp ++ 10
}
Have fun while solving my problems XD.