31.08.2010, 12:50
Alright, first of all, a Mobile Data Computer is a computer that the Police is using to find information about suspects.
What I want this to do is, be able to search on player ID's and find information about him or her.
This is how it looks like at the moment:
When you hit OK on the Search by Name (( ID )) a INPUT style dialog should appear and you should be able to type a online player ID and it will search for him or her.
The information I want it to show is PlayerInfo[playerid][pCarWarn];
If you got no idea what I mean, just ask.
Thanks
What I want this to do is, be able to search on player ID's and find information about him or her.
This is how it looks like at the moment:
Code:
if(strcmp(cmd, "/mdc", true) == 0) { if(IsPlayerConnected(playerid)) { if(gTeam[playerid] == 2 || gTeam[playerid] == 3) { ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Mobile Data Computer", "Search by Name (( ID ))", "OK", "Log Out"); } } return 1; }
The information I want it to show is PlayerInfo[playerid][pCarWarn];
If you got no idea what I mean, just ask.
Thanks