07.07.2011, 19:58
hi all,
i wan to make a dialog with all Ryder Races...to load the races what are in scriptfiles in a dialog...
but doesn't work...
here is the dialog
when i type /rraces in game the dialog is empty
help me anyone pls...
i wan to make a dialog with all Ryder Races...to load the races what are in scriptfiles in a dialog...
but doesn't work...
here is the dialog
pawn Код:
CMD:rraces( playerid, params[])
{
new string[ 128 ], ryder[ 1024 ];
format( ryder, 1024, "{FFFFFF}" );
format( string, 128, "%s\n", LoadRaceNames( ) );
strcat( ryder, string, 1024 );
ShowPlayerDialog( playerid, 12000, DIALOG_STYLE_LIST, "{FFFFFF}Real Races", ryder, "Select", "Cancel" );
return 1;
}
help me anyone pls...