Quote:
Originally posted by R0b1n-NPC
i think functions should have custom variables that can only be used inside the functions, e.g.
PHP Code:
if (playerenters) {
killplayer(#a,Hahah you suck);
}
function killplayer(account,message) {
with (getplayer(account)) {
playerhearts=0;
say2 message;
}
}
that would be teh 1337
|
Great idea, but this has been asked for since functions were added to graalscript long ago (like 3 years or something).