شباب ممكن تفهموني ذا مثال
يخلي يلحق مدري وش
function tankHat ( source, commandName )
local x, y, z = getElementPosition ( source ) --Get the players position
local tank = createVehicle ( 432, x, y, z + 5 ) --Create a tank
attachElements ( tank, source, 0, 0, 5 ) --Attach the tank to the player.
end
addCommandHandler ( "hat", tankHat )
وذا وش
ليش احداثايات
attachElements ( tank, source, 0, 0, 5 )