Maybe u know the problem, if u type in " /id tim " for example, but there are more than one person which begin with " tim " online and u only got the ID of one!
Its whould be better if u whould get a list of everyone who has " tim " in his name, or which name begin with " tim "!
But there should be a minimum of 3 letters.
If u whould get a list of everyone who have " [GER] " in his name u could get names like...
(i dont know if there are persons with this names on the server, but this are just examples)
[GER]Melissa ID 6
[GER]Riko ID 12
Martin[GER] ID 69
This Whould be bettter for Everyone!
Back to the example with " tim "
Tim_Bender ID 4
Tim_Messanger ID 48
If u try to get the id of Tim_Messanger u whould get just the ID of Tim_Bender cause he is the first "Tim" in the list, but cause of the list of more persons u whould get everyone with " Tim " in the name.
Maybe its whould be better for moderators and Admins too, so they wont mute/kick/ban the wrong person :D
i would like this:) simple and helps alot:)
+1
1
How about ID then the name?
Like :
ID: 23 Google .
Anyway +1 !
good idea :) type /id [ro] and u will get spam of [RO] players :)
but better idea would be that one player should have only his unique id,
even 35123 (number of registered accounts about) or just type /id tim to find only [RO]tim :)
Quote from: Google on December 11, 2011, 09:15
How about ID then the name?
Like :
ID: 23 Google .
Anyway +1 !
In my opinion its the same if the ID is infront of the name, or behind^^
Yeah it really dosen't matter that much!
Simple and good idea. +1 Should be added. :)
Well...from my knowledge of scripting, this would take yet another scripting loop to accomplish. You see, the /id command just uses the sscanf paramater "u", which accepts either a partial/full playername or a playerid (try /id 5, and it will output player 5), and outputs the playerid (reference: http://forum.sa-mp.com/showthread.php?t=120356 (http://forum.sa-mp.com/showthread.php?t=120356)). Sscanf only outputs the first player it matches, not every player it matches, which means mick would have to loop through every player to see if the string that you pass through the command appears in any person's name. Harder than you think.
Nice idea, Mel. Its kinda annoying when you want to get id of someone whos name is completely inside other person's name, like Bull and Bullet.
+1
I got lost after Storm said "sscanf paramater "u" " lol
Quote from: Xero the Christmas Poo on December 12, 2011, 12:12
I got lost after Storm said "sscanf paramater "u" " lol
Haha it can be a little difficult to understand. I just wanted people to know that its not easy.
Quote from: Storm203 on December 12, 2011, 14:55
Quote from: Xero the Christmas Poo on December 12, 2011, 12:12
I got lost after Storm said "sscanf paramater "u" " lol
Haha it can be a little difficult to understand. I just wanted people to know that its not easy.
Maybe not easy, but i hope that its good :D
In my opinion it will help a lot!^^
Quote from: Storm203 on December 11, 2011, 23:25
Well...from my knowledge of scripting, this would take yet another scripting loop to accomplish. You see, the /id command just uses the sscanf paramater "u", which accepts either a partial/full playername or a playerid (try /id 5, and it will output player 5), and outputs the playerid (reference: http://forum.sa-mp.com/showthread.php?t=120356 (http://forum.sa-mp.com/showthread.php?t=120356)). Sscanf only outputs the first player it matches, not every player it matches, which means mick would have to loop through every player to see if the string that you pass through the command appears in any person's name. Harder than you think.
After reading your post I imagine myself running in loops and asking everyone their names.
Quote from: mick88 on December 14, 2011, 11:06
Quote from: Storm203 on December 11, 2011, 23:25
Well...from my knowledge of scripting, this would take yet another scripting loop to accomplish. You see, the /id command just uses the sscanf paramater "u", which accepts either a partial/full playername or a playerid (try /id 5, and it will output player 5), and outputs the playerid (reference: http://forum.sa-mp.com/showthread.php?t=120356 (http://forum.sa-mp.com/showthread.php?t=120356)). Sscanf only outputs the first player it matches, not every player it matches, which means mick would have to loop through every player to see if the string that you pass through the command appears in any person's name. Harder than you think.
After reading your post I imagine myself running in loops and asking everyone their names.
Like I said, harder than you think :P
because u are a girl i say +1
Thats rather sexist Anri