warning 225: unreachable code
#7

Quote:
Originally Posted by [A]ndrei
Посмотреть сообщение
OnPlayerSpawn
but it should work because it asks what class you whant
Try to move that on top. Just to know if that line or the other line has the problem. And post the warning line if its the same as before.

pawn Код:
public OnPlayerSpawn(playerid)
{
      ShowPlayerDialog(playerid, 999, DIALOG_STYLE_LIST, "{6EF83C}Choose A Class:", "Private Class\nSniper Class\nEngineer Class\nMedic Class\nPilot Class\nSpy Class", "Choose","");//THIS IS THE LINE THX FOR HELP
         //your codes below
}
Reply


Messages In This Thread
warning 225: unreachable code - by [A]ndrei - 07.09.2012, 06:13
Re: warning 225: unreachable code - by kbalor - 07.09.2012, 06:19
Re: warning 225: unreachable code - by [A]ndrei - 07.09.2012, 06:20
Re: warning 225: unreachable code - by kbalor - 07.09.2012, 06:25
Re: warning 225: unreachable code - by [A]ndrei - 07.09.2012, 06:26
Re: warning 225: unreachable code - by [A]ndrei - 07.09.2012, 06:33
Re: warning 225: unreachable code - by kbalor - 07.09.2012, 06:33
Re: warning 225: unreachable code - by [A]ndrei - 07.09.2012, 06:35
Re: warning 225: unreachable code - by kbalor - 07.09.2012, 06:36
Re: warning 225: unreachable code - by [A]ndrei - 07.09.2012, 06:37

Forum Jump:


Users browsing this thread: 1 Guest(s)