Help me Command
#1

Help me with createclan command.
Problem is that not create clan
Mention using y_ini
Код:
CMD:createclan(playerid,params[])
{
	ShowPlayerDialog(playerid, CrCl , DIALOG_STYLE_INPUT ,"CreateClan" , "Creazati un clan scriind numele mai jos" , "Ok" , "Cancel" );

	return 1;
}
And OnDialogResponse
Код:
            case CrCl:
	    {
			if(response)
		    {
			    if( Cinfo[ playerid ][ crank ] != 0 )
				    return SendClientMessage(playerid , -1 ,"Aloo doar un clan per player xD!");

				new INI:File = INI_Open(UserPath(playerid));
				INI_SetTag(File,"data");
				INI_WriteString(File, "ClanName", inputtext);
				INI_Close(File);
			}
		}
Reply
#2

Help me please
off:Not is double post !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)