Bracket problem
#2

Quote:
Originally Posted by [ĦŁ₣
ЉǾǖŦĦЗŁΛẄ ]
A Callback must have it's own set of brackets:

Callback()
{
Statements()
{
Functions()
}
return
}

Then add the return at the bottom, for commandtext it should be 'return 0;' so it returns an error if a player enters an invalid command, or if you want to make your own error then instead of the '0' in 'return 0;' add a SendClientMessage 'return SendClientMessage(...);'

Hope this helped you :P
Well thanks for this but, if i wanted an explanation on how they work i would of asked for that. the reason why i asked for someone else to fix it is, because IM DUMB.
Reply


Messages In This Thread
Bracket problem - by keujh - 02.04.2010, 00:48
Re: Bracket problem - by keujh - 02.04.2010, 01:03
Re: Bracket problem - by keujh - 02.04.2010, 01:11
Re: Bracket problem - by keujh - 02.04.2010, 01:29

Forum Jump:


Users browsing this thread: 1 Guest(s)