Stopped working..
#1

Hi, I just had this pawn error:

http://prntscr.com/b6gau4

Here's the full gamemode:
http://pastebin.com/gYrM8G6U

Latest I did:
Create the login & register part, Line: 206
Latest include(right before error):dialogs
I tried to remove it, but didn't work still.

I already used a program to search for missing barracks.
Reply
#2

stock D_R_C_Gender
Код:
	stock D_R_C_Gender(playerid, response)
	{
	    if(response)
	    {
	        //new INI:File = INI_Open(UserPath(playerid));
     		INI_SetTag(File, "character");
       		INI_WriteInt(File, "Gender", 1);
	        INI_Close(File);
			ShowPlayerDialog(playerid,  D_R_C_Origin, DIALOG_STYLE_INPUT, ""C_T_DialogTitle"New City Roleplay"C_T_Default": Character Origin", ""C_T_Default"Welcome to "C_T_DialogTitle"New City"C_T_Default": Roleplay.\nPlease enter your characters origin, Basically where he was born.", "Contine", "Exit");
		
		}
  		else
  		{
  		    //new INI:File = INI_Open(UserPath(playerid));
     		INI_SetTag(File, "character");
       		INI_WriteInt(File, "Gender", 2);
	        INI_Close(File);
	        ShowPlayerDialog(playerid,  D_R_C_Origin, DIALOG_STYLE_INPUT, ""C_T_DialogTitle"New City Roleplay"C_T_Default": Character Origin", ""C_T_Default"Welcome to "C_T_DialogTitle"New City"C_T_Default": Roleplay.\nPlease enter your characters origin, Basically where she was born.", "Contine", "Exit");
  		}
	}
stock D_R_C_Accent
Код:
	stock D_R_C_Accent(playerid, response, inputtext[])
	{
	    if(response)
	    {
	        if(!isnull(inputtext))
	        {
 				//new INI:File = INI_Open(UserPath(playerid));
     			INI_SetTag(File, "character");
     			INI_WriteString(File, "Accent", inputtext);
        		INI_Close(File);
				TogglePlayerSpectating(playerid, 0);
				SpawnPlayer(playerid);
	       	    PlayerTextDrawShow(playerid, Background);
				PlayerTextDrawShow(playerid, Loading);
				PlayerTextDrawShow(playerid, NewCity);
				PlayerTextDrawShow(playerid, Roleplay);
		    	SetTimerEx("EndLoadingScreen30", 3500, false, "i", playerid);
				SetPlayerPos(playerid, 1743.1300, -1861.9683, 13.5769);
				SetPlayerFacingAngle(playerid, 359.2573);
				GivePlayerMoney(playerid, 25000);
			}
			else
			{
	     	   	ShowPlayerDialog(playerid,  D_R_C_Accent, DIALOG_STYLE_INPUT, ""C_T_DialogTitle"New City Roleplay"C_T_Default": Character Accent", ""C_T_Default"Welcome to "C_T_DialogTitle"New City"C_T_Default": Roleplay.\nPlease enter your characters accent, Basically the way they speak.\n\n"C_T_Error"You forgot to enter the accent.", "Contine", "Exit");
			}
		}
  		else
  		{
  		    KickPlayer(playerid, "\"Pressed Exit on Character Accent.\"");
  		}
	}
Reply
#3

Solved, I used stock D_R_C_Origin instead of lr_D_R_C_Origin
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)