Pawno Crash
#6

Okay, thanks changed it to this now.


PHP код:
else if(RegistrationStep[playerid] == 2)
     {
          if(
PlayerInfo[playerid][pAccent] == 0)
        {
             
SendClientMessageEx(playeridCOLOR_GREY"(Registration): {FFFFFF}So, what accent would you like to have? (Fill in the number)");
               
SendClientMessageEx(playeridCOLOR_WHITE"Normal [1] British[2] American[3] Gangsta[4] Italian [5]");
           }
            if (
strcmp("1"texttrue) == 0)
             {
                  
PlayerInfo[playerid][pAccent] = 1;
                
SendClientMessageEx(playeridCOLOR_GREY"(Registration): {FFFFFF}Alright, your accent has been changed to 'Normal'");
                
SendClientMessageEx(playeridCOLOR_WHITE"You can change your accent at any time ingame with /accent.");
                
RegistrationStep[playerid] = 3;
                 return 
0;
            }
            else if (
strcmp("2"texttrue) == 0)
            {
                
PlayerInfo[playerid][pAccent] = 2;
                 
SendClientMessageEx(playeridCOLOR_GREY"(Registration): {FFFFFF}Alright, your accent has been changed to 'British'");
                  
SendClientMessageEx(playeridCOLOR_WHITE"You can change your accent at any time ingame with /accent.");
                   
RegistrationStep[playerid] = 3;
                return 
0;
             }
             else if (
strcmp("3"texttrue) == 0)
             {
                
PlayerInfo[playerid][pAccent] = 9;
                   
SendClientMessageEx(playeridCOLOR_GREY"(Registration): {FFFFFF}Alright, your accent has been changed to 'American'");
                
SendClientMessageEx(playeridCOLOR_WHITE"You can change your accent at any time ingame with /accent.");
                
RegistrationStep[playerid] = 3;
                return 
0;
             }
             else if (
strcmp("4"texttrue) == 0)
             {
                   
PlayerInfo[playerid][pAccent] = 14;
                 
SendClientMessageEx(playeridCOLOR_GREY"(Registration): {FFFFFF}Alright, your accent has been changed to 'Gangsta'");
                 
SendClientMessageEx(playeridCOLOR_WHITE"You can change your accent at any time ingame with /accent.");
                 
RegistrationStep[playerid] = 3;
                 return 
0;
             }
             else if (
strcmp("5"texttrue) == 0)
             {
                   
PlayerInfo[playerid][pAccent] = 13;
                   
SendClientMessageEx(playeridCOLOR_GREY"(Registration): {FFFFFF}Alright, your accent has been changed to 'Italian'");
                
SendClientMessageEx(playeridCOLOR_WHITE"You can change your accent at any time ingame with /accent.");
                
RegistrationStep[playerid] = 3;
                return 
0;
             }
             else
             {
                 
SendClientMessageEx(playeridCOLOR_GREY"(Registration): {FFFFFF}So, what accent would you like to have? (Fill in the number)");
                  
SendClientMessageEx(playeridCOLOR_WHITE"Normal [1] British[2] American[3] Gangsta[4] Italian [5]"); {
            }
        }
        return 
0;
    } 
Quote:

C:\Users\Bart\Downloads\samp03dsvr_R2_win32\gamemo des\lsrp.pwn(69049) : warning 217: loose indentation
C:\Users\Bart\Downloads\samp03dsvr_R2_win32\gamemo des\lsrp.pwn(69095) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

Line 69049
PHP код:
if (strcmp("1"texttrue) == 0
Line 69095
PHP код:
return 0
Reply


Messages In This Thread
Pawno Crash - by Sasoft - 12.12.2011, 06:32
Re: Pawno Crash - by N0FeaR - 12.12.2011, 06:56
Re: Pawno Crash - by Sasoft - 12.12.2011, 07:09
Re: Pawno Crash - by Sasoft - 12.12.2011, 07:14
Re: Pawno Crash - by suhrab_mujeeb - 12.12.2011, 07:18
Re: Pawno Crash - by Sasoft - 12.12.2011, 07:28
Re: Pawno Crash - by suhrab_mujeeb - 12.12.2011, 07:37
Re: Pawno Crash - by Sasoft - 12.12.2011, 07:40
Re: Pawno Crash - by suhrab_mujeeb - 12.12.2011, 07:44
Re: Pawno Crash - by MP2 - 12.12.2011, 07:57

Forum Jump:


Users browsing this thread: 2 Guest(s)