Identifying a player in a command
#7

Quote:
Originally Posted by Ducati
Посмотреть сообщение
Thanks all for the help, I will have a go at replacing with sscanf in the morning.

I dont have much (any) experience with sscanf yet, will using sscanf/u enable me to identify a player by other parts of the name other than the beginning?

For example will it allow me to use /wave John if a player's name is TestJohn
No it will not, It would have if the player name would have been JohnTest. sscanf dosent search in between name, it starts from the beginning of the name.
Reply


Messages In This Thread
Identifying a player in a command - by Ducati - 28.04.2018, 00:57
Re: Identifying a player in a command - by Pottus - 28.04.2018, 01:03
Re: Identifying a player in a command - by Kane - 28.04.2018, 02:21
Re: Identifying a player in a command - by ISmokezU - 28.04.2018, 02:29
Re: Identifying a player in a command - by Zeth - 28.04.2018, 02:47
Re: Identifying a player in a command - by Ducati - 28.04.2018, 02:50
Re: Identifying a player in a command - by Zeth - 28.04.2018, 02:53
Re: Identifying a player in a command - by BigETI - 13.12.2018, 07:22
Re: Identifying a player in a command - by RoboN1X - 13.12.2018, 14:06

Forum Jump:


Users browsing this thread: 2 Guest(s)