Merged in features-on-acc-creation (pull request #50)
adds features dialog on account creation
This commit is contained in:
commit
936ec548c7
@ -22,9 +22,14 @@ 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;
|
||||
return 1;
|
||||
}
|
||||
|
||||
CMD:faq( playerid, params[ ] ) {
|
||||
|
@ -4827,6 +4827,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