Warning + A Question
#4

Quote:
Originally Posted by Wesley221
View Post
For the first question: You cant return like that, you should do it like this:
pawn Code:
if(reason = 0 && Finished[playerid] == 1)
{
     Finished[playerid] = 1;
     return 0;
}
Second question, its already on 1 line right..?

Last question:
When a player connects, add one to a variable (OnlinePlayers++. When a player disconnects remove one from it (OnlinePlayers++. When a player connect, check if On‌linePlayers == 60, and then kick the person or do something with him.
1.Still getting this warning (Edit: fixed by T0pAz,thanks a lot)
2.no,between those cases there is only case 21,case22,case23 etc.. I just made the code shorter.
3.Its not about OnPlayerConnect,its about OnPlayerSpawn
Reply


Messages In This Thread
Warning + A Question - by nuriel8833 - 02.02.2012, 11:16
Re: Warning + A Question - by Wesley221 - 02.02.2012, 11:20
Re: Warning + A Question - by T0pAz - 02.02.2012, 11:21
Re: Warning + A Question - by nuriel8833 - 02.02.2012, 11:23
Re: Warning + A Question - by SampLoverNo123 - 02.02.2012, 11:27
Re: Warning + A Question - by Wesley221 - 02.02.2012, 11:30
Re: Warning + A Question - by nuriel8833 - 02.02.2012, 11:34
Re: Warning + A Question - by MP2 - 02.02.2012, 11:39
Re: Warning + A Question - by nuriel8833 - 02.02.2012, 11:43
Re: Warning + A Question - by [Diablo] - 02.02.2012, 12:22
Re: Warning + A Question - by nuriel8833 - 02.02.2012, 12:35
Re: Warning + A Question - by Tannz0rz - 02.02.2012, 13:07

Forum Jump:


Users browsing this thread: 2 Guest(s)