Help with my first command.
#2

First of all, SCM is not a actual function, you need to define it first.
pawn Код:
#define SCM "SendClientMessage(%1, %2, %3);"
Don't quote me on the define, I never did it like that, I always use SendClientMessage(playerid, COLOR, Message); because I'm not lazy.

Loose identation means that you're not identing corrently (tabbing your code)
http://en.wikipedia.org/wiki/Indentation

pawn Код:
if( value == 1 ) {
    SendClientMessage(playerid, -1, "hi");
}
else {
    SendClientMessage(playerid, -1, "bye");
}
Reply


Messages In This Thread
Help with my first command. - by Goru - 11.07.2012, 14:21
Re: Help with my first command. - by Revo - 11.07.2012, 14:25
Re: Help with my first command. - by RedJohn - 11.07.2012, 14:27
Re: Help with my first command. - by Goru - 11.07.2012, 14:32
Re: Help with my first command. - by RedJohn - 11.07.2012, 14:34
Re: Help with my first command. - by Goru - 11.07.2012, 14:45
Re: Help with my first command. - by Lordzy - 11.07.2012, 14:49
Re: Help with my first command. - by Mark™ - 11.07.2012, 14:50
Re: Help with my first command. - by RedJohn - 11.07.2012, 15:01
Re: Help with my first command. - by Mark™ - 11.07.2012, 15:05

Forum Jump:


Users browsing this thread: 1 Guest(s)