-
Posts
1,411 -
Joined
-
Last visited
-
Days Won
2
Everything posted by WASSIm.
-
done function giveMoney (player, command) if (getPlayerTeam ( player ) and getTeamName ( getPlayerTeam ( player ) ) == "Staff") then local luckyBugger = getRandomPlayer() givePlayerMoney (luckyBugger, 1000) outputChatBox ( "You've recieved $1000", luckyBugger ) end end addCommandHandler ("moneyevent", giveMoney)
-
I Did It it comes This I Took SS http://www.upload.ee/image/3613642/YoLo.png you only need entre server in local tab
-
of course show for you in local and other people show in internet
-
are u really mad? i event dont know that there is CSG Server and,i am not leaking any of it and i want to tell u that i made scripts of my own i just asked here how to bring it online oh sry i don't see your name server i see just tag i think your server name ( City of Online Gaming ). ok your all port opened. you need send people ip and add :22003 in ip like this 197.0.1.41:22003 here can get your ip: http://www.adresseip.com/ remember you can't see your server in list just in tab local
-
no one make scripts free. if want free scripts go here: https://community.multitheftauto.com/
-
i know server COG he is server use leak scripts CSG
-
like them model="3276" posX="-1436.30005" posY="-971.59998" posZ="200.60001" rotX="0" rotY="0" rotZ="0" interior="0" dimension="0"
-
hi guys. have question about createElement. i want make create gate in file map like this id="1" model="3276" posX="-1436.30005" posY="-971.59998" posZ="200.60001" rotX="0" rotY="0" rotZ="0" interior="0" dimension="0">> i know i can make this with createElement but how fixed post ?
-
change isElementWithInMarker to isElementWithinMarker
-
finish i fixed it. problem fail just i don't remember ban myself for test
-
50c chnaya hadhi ?
-
of course thx all i fixed it
-
i use outputChatBox but nothing : / bindKey( "0", "down", function ( ) --if (getPlayerTeam ( localPlayer ) and getTeamName ( getPlayerTeam ( localPlayer ) ) == "STAFF") then local window = guiGetVisible ( windows ) if ( window == true ) then guiSetVisible ( windows, false ) showCursor ( false) else guiSetVisible ( windows, true ) showCursor ( true) triggerServerEvent("onLoadPlayerList", getRootElement()) triggerServerEvent("onLoadResourcesList", getRootElement()) triggerServerEvent("onLoadAccountsList", getRootElement()) triggerServerEvent("onLoadBansList", getRootElement()) end --end end )
-
not working and nothing in guiGridList yes
-
only help plis ?
-
balahi chnaya hal saf9a hadhi ?
-
hi guys i have problem. its not working and nothing in debug Server local banlist = xmlLoadFile ( "banlist.xml" ) function onLoadBansList ( ) local names = { } local ips = { } local serials = { } local banners = { } local reasons = { } local times = { } local untimes = { } for _, theNode in ipairs ( xmlNodeGetChildren( banlist ) ) do table.insert ( names, xmlNodeGetAttribute( theNode, "Name" ) ) table.insert ( ips, xmlNodeGetAttribute( theNode, "IP" ) ) table.insert ( serials, xmlNodeGetAttribute( theNode, "Serial" ) ) table.insert ( banners, xmlNodeGetAttribute( theNode, "Banner" ) ) table.insert ( reasons, xmlNodeGetAttribute( theNode, "Reason" ) ) table.insert ( times, xmlNodeGetAttribute( theNode, "Bantime" ) ) table.insert ( untimes, xmlNodeGetAttribute( theNode, "Unbantime" ) ) end triggerClientEvent ( "onClientLoadBansList", root, names, ips, serials, banners, reasons, times, untimes) end addEvent ( "onLoadBansList", true ) addEventHandler ( "onLoadBansList", getRootElement(), onLoadBansList ) Client addEvent ( "onClientLoadBansList", true ) addEventHandler ( "onClientLoadBansList", root, function ( names, ips, serials, banners, reasons, times, untimes ) guiGridListClear ( tabbanslist ) for _, name in ipairs ( names ) do local row = guiGridListAddRow ( tabbanslist ) guiGridListSetItemText ( tabbanslist, row, tabbanslistcolumnP, name, false, false ) end for _, ip in ipairs ( ips ) do local row = guiGridListAddRow ( tabbanslist ) guiGridListSetItemText ( tabbanslist, row, tabbanslistcolumnI, ip, false, false ) end for _, serial in ipairs ( serials ) do local row = guiGridListAddRow ( tabbanslist ) guiGridListSetItemText ( tabbanslist, row, tabbanslistcolumnS, serial, false, false ) end for _, banner in ipairs ( banners ) do local row = guiGridListAddRow ( tabbanslist ) guiGridListSetItemText ( tabbanslist, row, tabbanslistcolumnB, banner, false, false ) end for _, reason in ipairs ( reasons ) do local row = guiGridListAddRow ( tabbanslist ) guiGridListSetItemText ( tabbanslist, row, tabbanslistcolumnR, reason, false, false ) end for _, time in ipairs ( times ) do local row = guiGridListAddRow ( tabbanslist ) guiGridListSetItemText ( tabbanslist, row, tabbanslistcolumnT, time, false, false ) end for _, untime in ipairs ( untimes ) do local row = guiGridListAddRow ( tabbanslist ) guiGridListSetItemText ( tabbanslist, row, tabbanslistcolumnU, untime, false, false ) end end )
-
addEventHandler( "onClientRender",root, function( ) local px, py, pz, tx, ty, tz, dist px, py, pz = getCameraMatrix( ) for _, v in ipairs( getElementsByType 'player' ) do tx, ty, tz = getElementPosition( v ) dist = math.sqrt( ( px - tx ) ^ 2 + ( py - ty ) ^ 2 + ( pz - tz ) ^ 2 ) if ( dist < 30.0 ) and ( getElementData ( source, "tagadmin" ) == true ) then if isLineOfSightClear( px, py, pz, tx, ty, tz, true, false, false, true, false, false, false ) then local sx, sy, sz = getPedBonePosition( v, 5 ) local x,y = getScreenFromWorldPosition( sx, sy, sz + 0.3 ) if x then -- getScreenFromWorldPosition returns false if the point isn't on screen dxDrawText( getPlayerName( v ), x, y, x, y, tocolor(150, 50, 0), 0.85 + ( 15 - dist ) * 0.02, "bankgothic" ) end end end end end ) function teste (source) local tagadmin = getElementData ( source, "tagadmin" ) setElementData ( source, "tagadmin" , not tagadmin ) end addCommandHandler("adm" , teste )
-
a3ml bil PayPal 5ir feha Donate ama mafhmtch kif na3mlha