While working on testbed I've seen this display error:
In the RC Chat tab:
Quote:
if (player.chat.starts(" at line 6: if (player.chat.starts("/Tiles"))
|
and in the NC tab:
Quote:
Script compiler output for Personal/someplayer/weapon:
error: unexpected token: " at line 4: addtiledef("image.png,"",0);
error: unexpected token: , at line 4: addtiledef("image.png,"",0);
error: missing semicolon at line 4: addtiledef("image.png,"",0);
error: unexpected token: ) at line 4: addtiledef("image.png,"",0);
Weapon/GUI-script Personal/someplayer/weaponadded/updated by someplayer
|
so yea, part of the error wasn't displayed in the NC tab. script looked like this (in case you need to reproduce the error) (and the script's been obviously wronger than wrong
):
PHP Code:
//#CLIENTSIDE
function onCreated()
{
addtiledef("image.png,"",0);
}
if (player.chat.starts("/Tiles"))
{
addtiledef("image.png,"",0);
}
if (play.chat == "/reset tiles")
{
removetiledefs;
}
I've also seen that whenever you delete a weapon, the message is displayed in RC Chat unlike NPCs and classes being deleted