Hi!
1. Question:
I Would like to ask, how could i set the vehicle rotation (facing angle) in my vehicle spawning command?
So i want to set vehicle rotate to my Character Facing Angle Rotation..
I'm literally newbie with LUA language.
This is my first command:
addCommandHandler("sv",
function(player, command, model)
if tonumber(model) and tonumber(model) >= 400 and tonumber(model) < 609 then
local vx,vy,vz = getElementPosition(player)
local vhle = createVehicle(model,vx,vy,vz)
outputChatBox("Vehicle spawned!", player)
warpPedIntoVehicle(player,vhle, 0)
else
outputChatBox("Error!",player)
end
end
)
2. Question:
How could i make 'easy to use' SKIN-SELECTOR that contains "array with few skin id's[about 5 skin id] and GUI left and right arrow and select button"?
I have already tried to make this, but doesn't work for me!
3. Question:
How can i send Message To all Player, not only the Command user?! [Example: PAWN Language: SendMessageToAll]
Thanks the answers, this very important for me! I would like to learn! Have a nice Day!