[Warning] 225 Unreachable Code
#2

pawn Код:
SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
      {
            gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
            SetPlayerInterior(playerid, 3);
            PlayerInfo[playerid][pInt] = 3;
            SetPlayerPos(playerid, 330.6825,163.6688,1014.1875);
            SetPlayerFacingAngle(playerid, 280);
            TogglePlayerControllable(playerid, 0);
            RegistrationStep[playerid] = 1;
            SendClientMessage(playerid, COLOR_YELLOW, "Welcome to Los Angeles Roleplay server. You will now be taken to Immigration.");
            SendClientMessage(playerid, COLOR_LIGHTRED, "First question: Are you a Male or Female? (Type in what you are).");
            return 1;
      }
You are stopping the code at this point. You forgot an IF or something for this block

Also read this topic to get rid of the memory error
http://forum.sa-mp.com/index.php?topic=79810.0
Reply


Messages In This Thread
[Warning] 225 Unreachable Code - by Mujib - 30.11.2009, 17:30
Re: [Warning] 225 Unreachable Code - by dice7 - 30.11.2009, 17:33
Re: [Warning] 225 Unreachable Code - by FireScript - 07.01.2012, 00:35

Forum Jump:


Users browsing this thread: 1 Guest(s)