17-03-2013 Saat: 15:05
Beyler Lua Da Kodluyorum Panel Hep Bu Bölüm Hata Veriyor Net Konu Açtım Hata YOk Diyorlar Ama Error Veriyor Napmam Lazım
Kod:
addCommandHandler('mehmetmehmetmehmetpanel',
function( player, command, ... )
local query = #{...}>0 and table.concat({...},' ') or nil
if not query then
if g_ForcedNextMap then
outputRace( 'Next map is ' .. getMapName( g_ForcedNextMap ), player )
else
outputRace( 'Next map is not set', player )
end
return
end
local map, errormsg = findMap( query )
if not map then
outputRace( errormsg, player )
return
end
if (isGuestAccount(getPlayerAccount(player)) == false) then
g_ForcedNextMap = map
outputChatBox ("#FF6600* Next map set from #ABCDEF"..getPlayerName(thePlayer).." #FFFFFF[ "..mapName.." ]",getRootElement(),0,0,0,true)
triggerClientEvent ( "setNextMap", getRootElement(), getMapName( g_ForcedNextMap ) )
else
outputChatBox("#FF6600*ERROR: #ffffff[Z]Please Login OR Kicked By CrawLinq#ABCDEFin!",player,255,255,255,true)
end
end
)