Sign in to follow this  
fargot..

معنى ذي ؟

Recommended Posts

السلام عليكم و رحمة الله وبركاته 

اعطوني معنى ددا الكود 

WARNING: M6DerbyMission/s.Lua:337: Bad argument @ 'killTimer' [Expected Lua-timer at argument 1, got nil]

 

Share this post


Link to post

killTimer(المفروض تحط التايمر)

اطرح الكود

Share this post


Link to post

ويمكن  التايمر الي حاطه مو موجود من الاساس لـ هذا السبب استخدم isTimer

Share this post


Link to post
1 hour ago, #BrosS said:

killTimer(المفروض تحط التايمر)

اطرح الكود

الكود 

CrtTable = {};
TableCars = {};
updateText()
if isTimer(DerbyCheckTimer) then
	killTimer(DerbyCheckTimer);
end
exports.M7ShooterMission:STARTShooterMission()
setMarkerColor(CrM,0,255,0,255)
elseif #CrtTable == 0 then
killTimer ( DerbyCheckTimer )
for i, cars in ipairs(TableCars) do
destroyElement ( cars )
end
TableCars = {}
exports["guimessages"]:outputServer(root, "#3399FF[Derby Mission] #FF0000The Derby Mission Was End !", 0, 255, 255)
exports.M7ShooterMission:STARTShooterMission()
setMarkerColor(CrM,0,255,0,255)
end
end
end

---System---

 

Share this post


Link to post
CrtTable = {};
TableCars = {};
updateText()
if isTimer(DerbyCheckTimer) then
	killTimer(DerbyCheckTimer);
end
exports.M7ShooterMission:STARTShooterMission()
setMarkerColor(CrM,0,255,0,255)
elseif #CrtTable == 0 then
if isTimer(DerbyCheckTimer) then
killTimer ( DerbyCheckTimer )
end
for i, cars in ipairs(TableCars) do
destroyElement ( cars )
end
TableCars = {}
exports["guimessages"]:outputServer(root, "#3399FF[Derby Mission] #FF0000The Derby Mission Was End !", 0, 255, 255)
exports.M7ShooterMission:STARTShooterMission()
setMarkerColor(CrM,0,255,0,255)
end
end
end

 

Share this post


Link to post
Posted (edited)

deleted

Edited by Hakan
افاده الاخ @BrosS

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.