10.01.2013, 08:41
(
Последний раз редактировалось denNorske; 10.01.2013 в 09:35.
Причина: Solved!
)
Hello!
I am making a command now to put players in the passenger seat if the selected player is in a vehicle.
But, i am only making commands using sscanf parameter "i" and then players will have to find the id of the player to be able to use the command.
But if i use parameter "u", will that do "GetPlayerIdFromName(id)" automatically, and then be able to use part of names instead of only id?
(instead of /passenger 6 i want to use /passenger Airplane (part of my name) )
or Any nicer way to do this? (Zcmd)
I am making a command now to put players in the passenger seat if the selected player is in a vehicle.
But, i am only making commands using sscanf parameter "i" and then players will have to find the id of the player to be able to use the command.
But if i use parameter "u", will that do "GetPlayerIdFromName(id)" automatically, and then be able to use part of names instead of only id?
(instead of /passenger 6 i want to use /passenger Airplane (part of my name) )
or Any nicer way to do this? (Zcmd)