adds features dialog on account creation
This commit is contained in:
parent
bf3a2ba9e5
commit
c957e00d40
@ -22,6 +22,11 @@ CMD:help( playerid, params[ ] ) {
|
||||
}
|
||||
|
||||
CMD:features( playerid, params[ ] ) {
|
||||
return DisplayFeatures( playerid );
|
||||
}
|
||||
|
||||
stock DisplayFeatures( playerid )
|
||||
{
|
||||
SetPVarInt( playerid, "help_category", 1 );
|
||||
mysql_function_query( dbHandle, "SELECT `SUBJECT`,`ID`,`CATEGORY` FROM `HELP` WHERE `CATEGORY`=1 ORDER BY `SUBJECT` ASC", true, "OnFetchCategoryResponse", "dd", playerid, 1 );
|
||||
return 1;
|
||||
|
@ -4826,6 +4826,8 @@ public OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
|
||||
// ShowPlayerDialog( playerid, DIALOG_SPAWN_CITY, DIALOG_STYLE_LIST, "{FFFFFF}Select Spawning City", "San Fierro\nLas Venturas\nLos Santos\nRandom City", "Select", "" );
|
||||
|
||||
SendServerMessage( playerid, "Your job has been set to %s. you can change it at the City Hall for "COL_GOLD"$5,000"COL_WHITE".", GetJobName( p_Job{ playerid } ) );
|
||||
|
||||
DisplayFeatures( playerid );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user