Quote:
Originally Posted by fowlplay4
Wrong function:
PHP Code:
function onActionPlayerOnline() { setupPlayer(); addWeapons(); }
function setupPlayer() { if (!clientr.stat.level) { clientr.stat.level = 1; // and so on.. } }
function addweapons() { temp.weps = { "-System", "andSoOn" }; for (temp.wep: temp.weps) { player.addweapon(temp.wep); } }
|
Why couldn't I just do:
PHP Code:
function onActionPlayerOnline() {
if (clientr.level <= 0)
{
clientr.level = 1;
addweapon("-Control");
}
}
wouldn't that do the same thing?