SAMP MySQL Help
#4

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.
Reply


Messages In This Thread
SAMP MySQL Help - by Miguelch1312 - 20.06.2018, 03:43
Re: SAMP MySQL Help - by div - 20.06.2018, 03:50
Re: SAMP MySQL Help - by Miguelch1312 - 20.06.2018, 04:32
Re: SAMP MySQL Help - by div - 20.06.2018, 04:43
Re: SAMP MySQL Help - by Miguelch1312 - 20.06.2018, 04:59
Re: SAMP MySQL Help - by div - 20.06.2018, 05:38
Re: SAMP MySQL Help - by Calisthenics - 20.06.2018, 07:17

Forum Jump:


Users browsing this thread: 2 Guest(s)