Quote:
Originally Posted by Twinny
I'd try and have most of those functions in a class so I could do player.doFunkyStuff(); but it's all good  .
|
Hmm, you can do that clientside? *tests
Oh cool, it works!
PHP Code:
//#CLIENTSIDE
function onCreated()
player.join("cFunctions");
function onPlayerChats()
if (player.chat.starts("doFunction"))
player.(@player.chat.substring(6).trim())();
PHP Code:
//#CLIENTSIDE
public function drawText()
player.chat = "Found Function!";
Thank you!