20.06.2018, 04:43
i can give u an idea.. dont want to write code for now ;3
When he connects, showplayerdialog(2 dialogs TYPE_MSGBOX)
OnPlayerDialogResponse
then
INSERT * INTO `playerdata` WHERE `firstname` = '%s', inputtext)
same we doing with lastname
then the command u want to make this dialogbox for
new fName[24], lName[24];
cache_get_field_content(connectionhandle, "firstname", fName);
same with second name..
then
new string[128];
format(string, sizeof(string), "Name\tLastname\n%s\t%s, fName, lName);
ShowPlayerDialogBox
or if ur making a /credits dialogbox of smth
simply ShowPlayerDialog.. easy.
When he connects, showplayerdialog(2 dialogs TYPE_MSGBOX)
OnPlayerDialogResponse
then
INSERT * INTO `playerdata` WHERE `firstname` = '%s', inputtext)
same we doing with lastname
then the command u want to make this dialogbox for
new fName[24], lName[24];
cache_get_field_content(connectionhandle, "firstname", fName);
same with second name..
then
new string[128];
format(string, sizeof(string), "Name\tLastname\n%s\t%s, fName, lName);
ShowPlayerDialogBox
or if ur making a /credits dialogbox of smth
simply ShowPlayerDialog.. easy.