well my script always giving error like this
ERROR: CIOupdatesinfo/updates.slua:170: attempt to perform arithemtic on local 'mmx' (a nil value)
line 170 of mine script
local val8 = dd + (mmx*2) + math.floor(((mmx+1)*3)/5) + yy + math.floor(yy/4) - math.floor(yy/100) + math.floor(yy/400) + 2
i made alots of Functions for Players if they die they should got heal 200 HP but no thing got work also i use server sides only., is there any function helpful for this cause ?
what the different between Server side and SLUA ? like what the point of SLUA its same server side or so
i'm here to ask that questions because i forget the Feature SLUA.
function cmdArmedPed( command )
local x, y, z = getElementPosition(localPlayer)
local thePed = createPed(217, 1568, 1832, 10)
givePedWeapon(thePed, 31, 5000, true)
setControlState(thePed, "fire", true)
end
addCommandHandler("armedped", cmdArmedPed)
try it and change the position
it's not about debug it's about the script
as i see you're script get auto ban function, so if you need help notice me i can give you the right code for it.