23.09.2011, 19:08
Hi, how i cand make a dialog to show all avabile races...i use RRace system...
i have somethink like this:
But it shows me just LV Race...
And a secound question is...:
How i can make a dialog response for that dialog?
i have somethink like this:
pawn Код:
CMD:realraces( PARAMS )
{
new str[ 128 ], str2[ 1024 ];
LoadRaceNames( );
format( str2, sizeof( str2 ), "{FFFFFF}" );
Loop( x, TotalRaces )
{
format( str, 128, "%s\n", RaceNames[ x ] );
strcat( str2, str, 1024 );
}
ShowPlayerDialog( playerid, CURSE_REALE, DIALOG_STYLE_LIST, "{FFFFFF}Avabile Races:", str, "Join", "Cancel" );
return 1;
}
And a secound question is...:
How i can make a dialog response for that dialog?