Posts: 218
Threads: 50
Joined: Dec 2017
Reputation:
0
what exactly do you want?
like fetch a data from a field data or something?
Posts: 55
Threads: 6
Joined: Apr 2013
Reputation:
0
Fetch the row info, And use strcat to add it to a "format", next get the other row info and use strcat to add, this with all rows
To make something like
Row 1 NAME: Pepe | Lastname: White
Row 2 NAME: Pipe | Lastname: Andres
And wanna to show that on a dialog like
_______________________
|++Name++|++Lastname++|
|_________ |____________ |
|+Pepe++++|+White+++++|
|+Pipe++++|+Andres+++++|
|_________ |_____________|
Posts: 218
Threads: 50
Joined: Dec 2017
Reputation:
0
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.