Setlevel Command Help
#8

Quote:
Originally Posted by Miado_Hulk
Посмотреть сообщение
Or you can also use a "While":

While (level < 0 || level > 4)
{
return SendClientMessage(playerid,0x3740B3,"Admin level must be between 0 and 4");
}
What's the point of using while when it's going to be called only once? It could also cause problem if someone forgot to use return and that would cause an infinite loop. Plus it's while and not While.
Reply


Messages In This Thread
Setlevel Command Help - by Vasu99 - 27.02.2014, 16:47
Re: Setlevel Command Help - by Konstantinos - 27.02.2014, 16:54
Re: Setlevel Command Help - by Vasu99 - 27.02.2014, 17:19
Re: Setlevel Command Help - by Konstantinos - 27.02.2014, 17:42
Re: Setlevel Command Help - by Vasu99 - 27.02.2014, 17:53
Re: Setlevel Command Help - by Konstantinos - 27.02.2014, 17:56
Re: Setlevel Command Help - by Miado_Hulk - 27.02.2014, 18:08
Re: Setlevel Command Help - by Konstantinos - 27.02.2014, 18:12
Re: Setlevel Command Help - by Miado_Hulk - 27.02.2014, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)