wie kann ich das so machen das der spieler in diesem Rada punkt nicht mehr schlagen kann undso weiter, weil bei mir klappt das nicht und es kommen auch keine error´s
das ist mein script bisher
Lua
local Bahnhof = createRadarArea(-2496.23682, 766.45007, 75, 50, 0, 205, 0, 200)
function schlagen_verbot (thePlayer)
toggleControl (thePlayer, "fire", true)
toggleControl (thePlayer, "next_weapon", true)
toggleControl (thePlayer, "previous_weapon", true)
toggleControl (thePlayer, "aim_weapon", true)
toggleControl (thePlayer, "vehicle_fire", true)
end
addEventHandler ("onColShapeHit", Bahnhof, schlagen_verbot)
Alles anzeigen