[#]~>Abo'ALnshmy_979!! Posted June 24, 2018 Share Posted June 24, 2018 (edited) اريد لما اكتب في اف 8 givetime يشتغل على رتبة اي يعني اسوي له قروب للكونسل فقط يقدر يكتب في اف 8 ذي خاصية addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* نـجـح",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("* لم يـتـم إيـجـاد الاعب",player,255,0,0) end else outputChatBox("givetime ",player,255,0,0) end end ) Edited June 24, 2018 by [#]~>Abo'ALnshmy_979!! Link to comment
#BrosS Posted June 24, 2018 Share Posted June 24, 2018 addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( "Console" ) ) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* نـجـح",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("* لم يـتـم إيـجـاد الاعب",player,255,0,0) end else outputChatBox("givetime ",player,255,0,0) end end end ) Link to comment
[#]~>Abo'ALnshmy_979!! Posted June 25, 2018 Author Share Posted June 25, 2018 21 hours ago, [#]~>Abo'ALnshmy_979!! said: اريد لما اكتب في اف 8 givetime يشتغل على رتبة اي يعني اسوي له قروب للكونسل فقط يقدر يكتب في اف 8 ذي خاصية addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* نـجـح",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("* لم يـتـم إيـجـاد الاعب",player,255,0,0) end else outputChatBox("givetime ",player,255,0,0) end end ) 1 Link to comment
TOUNSI |, السعأدة Posted June 25, 2018 Share Posted June 25, 2018 19 hours ago, #BrosS said: addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( "Console" ) ) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* نـجـح",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("* لم يـتـم إيـجـاد الاعب",player,255,0,0) end else outputChatBox("givetime ",player,255,0,0) end end end ) +1 Link to comment
[#]~>Abo'ALnshmy_979!! Posted June 26, 2018 Author Share Posted June 26, 2018 (edited) On ٢٤/٦/٢٠١٨ at 13:10, #BrosS said: addCommandHandler("givetime", function (player,cmd,PlayerName,Time) if PlayerName and Time then local thePlayer = getPlayerFromName(PlayerName) if isElement(thePlayer) then if isObjectInACLGroup ( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup ( "Console" ) ) then if tonumber(Time) then t[thePlayer]["hour"] = tonumber(Time) outputChatBox("* نـجـح",player,0,255,0) else outputChatBox("* خطء في الوقت",player,255,0,0) end else outputChatBox("* لم يـتـم إيـجـاد الاعب",player,255,0,0) end else outputChatBox("givetime ",player,255,0,0) end end end ) مشكووور اخوي على مساعدة تم الافادة ق8 Edited June 26, 2018 by [#]~>Abo'ALnshmy_979!! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now