/arrest (name) And NOT (id)
#1

How would i do it so i can do

/arrest (name) insted of doing /arrest (id)

What function would i use then can you do an example please of it Thanks,
Reply
#2

working with names instead of id's is a lot more complicated and less accurate then using id's. Why would you need the name instead of the id?
Reply
#3

Use ******'s "sscanf" function.

https://sampwiki.blast.hk/wiki/Sscanf
https://sampwiki.blast.hk/wiki/Fast_Commands#Data_types

"u | User ID or name"
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)