Jump to content

aymeness81

Members
  • Posts

    34
  • Joined

  • Last visited

Everything posted by aymeness81

  1. I wanted to trigger a server event, Its about giveWeapon But I want it to be triggered like the following, For example I will add the event of giveWeapon in serverside named as "giveWeaponToPlayer" But the only problem, is that the arguments are attached to client side. the ammo is to get gui label text. so someone can make it like that? triggerServerEvent("giveWeaponToPlayer", player thePlayer, int ID, int Ammo) For example this adds "spawnvehicle" event. local vehicles = { } addEvent ( "spawnvehicle", true ) addEventHandler ( "spawnvehicle", root, function ( vehID ) if ( isElement ( vehicles [ source ] ) ) then destroyElement ( vehicles [ source ] ) end vehicles [ source ] = createVehicle ( vehID, getElementPosition ( source ) ) if ( vehicles [ source ] ) then setVehicleColor ( vehicles [ source ], 255, 255, 255 ) end setTimer ( warpPedIntoVehicle, 200, 1, source, vehicles [ source ] ) triggerClientEvent ( source, "closeWindow", root ) end ) And when we trigger it on client side it'd be like that: triggerServerEvent("spawnvehicle", player, vehID) Thanks for advance, Every help is appreciated!
  2. I thought about working with tables like that, but at same time I thought it will take a lot of time.. Thanks anyway
  3. Hello, I have a problem with an arresting script, Made by TAPL, Its a public one, But, I wanted to add somethiing and it didnt work.. The script is based all , on a team ("Police") , I wanted to make the script works with Military Team, SWAT Team, and Police Team. Server Side : ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ ------ ------|Arrest System|------ ------ ------ ------ ------- ------- ------- ------- ------- ------- ------- ------- ------- local Display = textCreateDisplay() local Text1 = textCreateTextItem("Press H to jail the Arrested.", 0.5, 0.35, "high", 255, 255, 0, 255, 2, "center", "center", 255) textDisplayAddText(Display, Text1) local ArrestTimer = {} addEvent("setWantLevel", true) addEventHandler("setWantLevel", root, function(wL) local LegalStatus = getElementData(source, "LegalStatus") if LegalStatus ~= "Jailed" then setPlayerWantedLevel(source, wL) end end) addEvent("takeMoney", true) addEventHandler("takeMoney", root, function(amount) takePlayerMoney(source, amount) end) addEvent("warpPosAndIntAndDim", true) addEventHandler("warpPosAndIntAndDim", root, function(type, value, x, y ,z) local Cop = getElementData(source, "ArresterCop") if isElement(Cop) and not isPedInVehicle(source) then if type == "INT" then setElementInterior(source, value) elseif type == "DIM" then setElementDimension(source, value) end setElementPosition(source, x, y ,z) end end) addEvent("backMeToJail", true) addEventHandler("backMeToJail", root, function() local gDoors = gDoors[math.random(1, #gDoors-3)] local x, y, z, r = gDoors["JPosX"], gDoors["JPosY"], gDoors["JPosZ"], gDoors["JRot"] setElementPosition(source, x, y, z) setPedRotation(source, r) setElementInterior(source, 6) end) addEventHandler("onPlayerDamage", root, function(attacker, wp) if wp == 41 then return end if attacker and attacker ~= source then if getElementInterior(attacker) == 5 and getElementDimension(attacker) == 5 then return end if (getElementData ( source, "isPlayerKidnapped" )) then return end if getElementType(attacker) == "vehicle" then attacker = getVehicleController(attacker) end local attakerTeam = getPlayerTeam(attacker) local damagedTeam = getPlayerTeam(source) if attakerTeam and damagedTeam then if getTeamName(attakerTeam) ~= "Police" or getTeamName(attakerTeam) ~= "Military" then if getTeamName(damagedTeam) ~= "Police" or etTeamName(damagedTeam) ~= "Military" then local wL = getPlayerWantedLevel(attacker) if wL < 3 then for i, player in ipairs(getElementsByType("player")) do local team = getPlayerTeam(player) if team and getTeamName(team) == "Police" or getTeamName(team) == "Military" then local x1, y1, z1 = getElementPosition(attacker) local x2, y2, z2 = getElementPosition(player) local LegalStatus = getElementData(attacker, "LegalStatus") if LegalStatus ~= "Jailed" and getDistanceBetweenPoints3D(x1, y1, z1, x2, y2, z2) < 15 then setPlayerWantedLevel(attacker, 3) break end end end end else local wL = getPlayerWantedLevel(attacker) local LegalStatus = getElementData(attacker, "LegalStatus") if LegalStatus ~= "Jailed" and wL < 4 then setPlayerWantedLevel(attacker, 4) end end else local wL = getPlayerWantedLevel(source) local LegalStatus = getElementData(source, "LegalStatus") if getTeamName(attakerTeam) == "Police" or getTeamName(attakerTeam) == "Military" and wL >= 3 and wp == 3 and not isPedDead(source) and LegalStatus ~= "Arrested" and LegalStatus ~= "Jailed" then setElementData(source, "ArresterCop", attacker) setElementData(source, "LegalStatus", "Arrested") showCursor(source, true) toggleAllControls(source, false, true, false) ArrestTimer[source] = setTimer(sendToJail, 40000, 1, source) if isKeyBound(source, "tab", "down", HackPoliceComputer) then unbindKey(source, "tab", "down", HackPoliceComputer) end if (getElementData(source, "HackTime") or 0) > 0 then setElementData(source, "HackTime", false) setElementFrozen(source, false) exports.TopBarChat:sendClientMessage(getPlayerName(source).." failed to hack the police pc", root, 255, 0, 0) if isTimer(HackTimer) then killTimer(HackTimer) end end exports.TopBarChat:sendClientMessage("You Arrested "..getPlayerName(source).."!", attacker, 0, 255, 0) exports.TopBarChat:sendClientMessage("You have been Arrested by "..getPlayerName(attacker).."!", source, 255, 255, 0) setPedAnimation(source, "ROB_BANK", "SHP_HandsUp_Scr", false, false) setPedAnimation(attacker, "ped", "ARRESTgun", false, false) setTimer(function(arrested, attacker) setPedAnimation(arrested, false) setPedAnimation(attacker, false) end, 2500, 1, source, attacker) end end end end end) addEventHandler("onPlayerWasted", root, function(_, killer) if isKeyBound(source, "tab", "down", HackPoliceComputer) then unbindKey(source, "tab", "down", HackPoliceComputer) end if (getElementData(source, "HackTime") or 0) > 0 then setElementData(source, "HackTime", false) exports.TopBarChat:sendClientMessage(getPlayerName(source).." failed to hack the police pc", root, 255, 0, 0) if isTimer(HackTimer) then killTimer(HackTimer) end end if killer and killer ~= source then local killerTeam = getPlayerTeam(killer) local killedTeam = getPlayerTeam(source) local wL = getPlayerWantedLevel(killer) local LegalStatus = getElementData(killer, "LegalStatus") if killerTeam and killedTeam then if getTeamName(killerTeam) ~= "Police" or getTeamName(killerTeam) ~= "Military" then if getTeamName(killedTeam) ~= "Police" or getTeamName(killedTeam) ~= "Military" then if LegalStatus ~= "Jailed" and (wL < 4) then setPlayerWantedLevel(killer, 4) end else if LegalStatus ~= "Jailed" and (wL <= 5) and not (wL > 6) then setPlayerWantedLevel(killer, wL+1) end end else local wL = getPlayerWantedLevel(source) local LegalStatus = getElementData(source, "LegalStatus") if wL >= 3 and LegalStatus ~= "Arrested" and LegalStatus ~= "Jailed" then setElementData(source, "ArresterCop", killer) sendToJail(source) end end end end if not killer or killer == source or getElementType(killer) == "vehicle" then local wL = getPlayerWantedLevel(source) local LegalStatus = getElementData(source, "LegalStatus") if wL >= 4 and LegalStatus ~= "Jailed" then for i, player in ipairs(getElementsByType("player")) do local team = getPlayerTeam(player) if team and getTeamName(team) == "Police" or getTeamName(team) == "Military" then local x1, y1, z1 = getElementPosition(source) local x2, y2, z2 = getElementPosition(player) if getDistanceBetweenPoints3D(x1, y1, z1, x2, y2, z2) < 40 then sendToJail(source) break end end end end end for i, player in ipairs(getElementsByType("player")) do if (getElementData(player, "ArresterCop") == source) then freePrisoner(player) exports.TopBarChat:sendClientMessage("You escaped from the cop!", player, 255, 255, 0) end end end) addEventHandler("onPlayerTarget", root, function(player) if getControlState(source, "aim_weapon") and player and getElementType(player) == "player" then local targetTeam = getPlayerTeam(player) local sourceTeam = getPlayerTeam(source) local LegalStatus = getElementData(source, "LegalStatus") local x1, y1, z1 = getElementPosition(source) local x2, y2, z2 = getElementPosition(player) if targetTeam and getTeamName(targetTeam) == "Police" or getTeamName(targetTeam) == "Military" and sourceTeam ~= targetTeam then if LegalStatus ~= "Arrested" and LegalStatus ~= "Jailed" then local wp = getPedWeapon(source) local wL = getPlayerWantedLevel(source) if wL < 2 and wp ~= 41 then if getDistanceBetweenPoints3D(x1, y1, z1, x2, y2, z2) < 10 then setPlayerWantedLevel(source, 2) end end end end if sourceTeam and getTeamName(sourceTeam) == "Police" or getTeamName(sourceTeam) == "Military" and sourceTeam ~= targetTeam then local LegalStatus = getElementData(player, "LegalStatus") if LegalStatus ~= "Arrested" and LegalStatus ~= "Jailed" then local wL = getPlayerWantedLevel(player) local currentgun = getPedWeapon(source) if getElementInterior(source) == 5 and getElementDimension(source) == 5 then return end if (getElementData ( player, "isPlayerKidnapped" )) then return end if not isPedDead(player) and (currentgun > 19) and (currentgun < 39) and (wL > 2) and (getElementHealth(player) <= 50) and getDistanceBetweenPoints3D(x1, y1, z1, x2, y2, z2) < 3 then setElementData(player, "ArresterCop", source) setElementData(player, "LegalStatus", "Arrested") showCursor(player, true) toggleAllControls(player, false, true, false) ArrestTimer[player] = setTimer(sendToJail, 40000, 1, player) exports.TopBarChat:sendClientMessage("You Arrested "..getPlayerName(player).."!", source, 0, 255, 0) exports.TopBarChat:sendClientMessage("You have been Arrested by "..getPlayerName(source).."!", player, 255, 0, 0) setPedAnimation(player, "ROB_BANK", "SHP_HandsUp_Scr", false, false) setPedAnimation(source, "ped", "ARRESTgun", false, false) if isKeyBound(source, "tab", "down", HackPoliceComputer) then unbindKey(source, "tab", "down", HackPoliceComputer) end if (getElementData(player, "HackTime") or 0) > 0 then setElementData(player, "HackTime", false) setElementFrozen(player, false) exports.TopBarChat:sendClientMessage(getPlayerName(player).." failed to hack the police pc", root, 255, 0, 0) if isTimer(HackTimer) then killTimer(HackTimer) end end setTimer(function(arrested, attacker) setPedAnimation(arrested, false) setPedAnimation(attacker, false) end, 3000, 1, player, source) end end end end end) addEventHandler("onPlayerQuit", root, function() if isTimer(ArrestTimer[source]) then killTimer(ArrestTimer[source]) ArrestTimer[source] = nil end if bribeTimer[source] then bribeTimer[source] = nil end local account = getPlayerAccount(source) if account and not isGuestAccount(account) then local LegalStatus = getElementData(source, "LegalStatus") local BailAmount = getElementData(source, "BailAmount") or 0 local JailTime = getElementData(source, "JailTime") or 0 local wL = getPlayerWantedLevel(source) or 0 if LegalStatus == "Free" or LegalStatus == false then setAccountData(account, "LegalStatus", "Free") setAccountData(account, "BailAmount", false) setAccountData(account, "JailTime", false) setAccountData(account, "wL", wL) elseif LegalStatus == "Arrested" then setAccountData(account, "LegalStatus", "Jailed")
  4. I can use like that instead of yours; for _,player in ipairs (getElementsByType("player")) do local wantedlvl = getPlayerWantedLevel(player) if wantedlvl <= 0 then local row = guiGridListAddRow(playerGrid) guiGridListSetItemText(playersGrid,row,playcol,string.gsub(getPlayerName(player),"#%x%x%x%x%x%x",""),false,false) end end
  5. Hey all, I wanted to create a police computer , but I have a problem on it, I want to show in the girdlist only the wanted players, as you see I made it showing all online players; Can someone help me? Thanks Client Side : GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } policeGUI = guiCreateWindow(186, 177, 532, 344, "Job Tools", false) guiWindowSetSizable(policeGUI, false) guiSetVisible(policeGUI, false) playersGrid = guiCreateGridList(18, 62, 504, 225, false, policeGUI) guiGridListAddColumn(playersGrid, "Wanted Players", 0.5) guiGridListAddColumn(playersGrid, "Wanted Level", 0.5) GUIEditor.button[1] = guiCreateButton(18, 301, 107, 33, "Track Player", false, policeGUI) GUIEditor.button[2] = guiCreateButton(207, 301, 107, 33, "Refresh", false, policeGUI) GUIEditor.button[3] = guiCreateButton(385, 301, 107, 33, "Cancel", false, policeGUI) GUIEditor.label[1] = guiCreateLabel(124, 21, 295, 35, "Zone Gaming Police Panel", false, policeGUI) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 0, 11, 255) for id, playeritem in ipairs(getElementsByType("player")) do local row = guiGridListAddRow ( playersGrid ) guiGridListSetItemText ( playersGrid, row, playcol, string.gsub ( getPlayerName (playeritem), '#%x%x%x%x%x%x','' ), false, false ) end
  6. Try this. local men = { [ 0 ] = true, [ 7 ] = true, [ 14 ] = true, [ 15 ] = true, [ 16 ] = true, [ 17 ] = true, [ 18 ] = true, [ 19 ] = true, [ 20 ] = true, [ 21 ] = true, [ 22 ] = true, [ 23 ] = true, [ 24 ] = true, [ 25 ] = true, [ 26 ] = true, [ 27 ] = true, [ 28 ] = true, [ 29 ] = true, [ 30 ] = true, [ 32 ] = true, [ 33 ] = true, [ 34 ] = true, [ 35 ] = true, [ 36 ] = true, [ 37 ] = true, [ 43 ] = true, [ 44 ] = true, [ 45 ] = true, [ 46 ] = true, [ 47 ] = true, [ 48 ] = true, [ 49 ] = true, [ 50 ] = true, [ 51 ] = true, [ 52 ] = true, [ 57 ] = true, [ 58 ] = true, [ 59 ] = true, [ 60 ] = true, [ 61 ] = true, [ 62 ] = true, [ 66 ] = true, [ 67 ] = true, [ 68 ] = true, [ 70 ] = true, [ 71 ] = true, [ 72 ] = true, [ 73 ] = true, [ 78 ] = true, [ 79 ] = true, [ 80 ] = true, [ 81 ] = true, [ 82 ] = true, [ 83 ] = true, [ 84 ] = true, [ 94 ] = true, [ 95 ] = true, [ 96 ] = true, [ 97 ] = true, [ 98 ] = true, [ 99 ] = true, [ 100 ] = true, [ 101 ] = true, [ 111 ] = true, [ 112 ] = true, [ 113 ] = true, [ 117 ] = true, [ 118 ] = true, [ 120 ] = true, [ 121 ] = true, [ 122 ] = true, [ 123 ] = true, [ 124 ] = true, [ 125 ] = true, [ 126 ] = true, [ 127 ] = true, [ 128 ] = true, [ 132 ] = true, [ 133 ] = true, [ 134 ] = true, [ 135 ] = true, [ 136 ] = true, [ 137 ] = true, [ 142 ] = true, [ 143 ] = true, [ 144 ] = true, [ 146 ] = true, [ 147 ] = true, [ 153 ] = true, [ 154 ] = true, [ 155 ] = true, [ 156 ] = true, [ 158 ] = true, [ 159 ] = true, [ 160 ] = true, [ 161 ] = true, [ 162 ] = true, [ 163 ] = true, [ 164 ] = true, [ 165 ] = true, [ 166 ] = true, [ 167 ] = true, [ 168 ] = true, [ 170 ] = true, [ 171 ] = true, [ 176 ] = true, [ 177 ] = true, [ 179 ] = true, [ 180 ] = true, [ 181 ] = true, [ 182 ] = true, [ 183 ] = true, [ 184 ] = true, [ 185 ] = true, [ 186 ] = true, [ 187 ] = true, [ 188 ] = true, [ 189 ] = true, [ 200 ] = true, [ 202 ] = true, [ 203 ] = true, [ 204 ] = true, [ 206 ] = true, [ 209 ] = true, [ 210 ] = true, [ 212 ] = true, [ 213 ] = true, [ 217 ] = true, [ 220 ] = true, [ 221 ] = true, [ 222 ] = true, [ 223 ] = true, [ 224 ] = true, [ 225 ] = true, [ 226 ] = true, [ 227 ] = true, [ 228 ] = true, [ 229 ] = true, [ 230 ] = true, [ 234 ] = true, [ 235 ] = true, [ 236 ] = true, [ 240 ] = true, [ 241 ] = true, [ 242 ] = true, [ 247 ] = true, [ 248 ] = true, [ 249 ] = true, [ 250 ] = true, [ 252 ] = true, [ 254 ] = true, [ 255 ] = true, [ 258 ] = true, [ 259 ] = true, [ 260 ] = true, [ 261 ] = true, [ 262 ] = true, [ 264 ] = true, [ 274 ] = true, [ 275 ] = true, [ 276 ] = true, [ 277 ] = true, [ 278 ] = true, [ 279 ] = true, [ 280 ] = true, [ 281 ] = true, [ 282 ] = true, [ 283 ] = true, [ 284 ] = true, [ 285 ] = true, [ 286 ] = true, [ 287 ] = true, [ 288 ] = true } local girls = { [ 9 ] = true, [ 10 ] = true, [ 11 ] = true, [ 12 ] = true, [ 13 ] = true, [ 31 ] = true, [ 38 ] = true, [ 39 ] = true, [ 40 ] = true, [ 41 ] = true, [ 53 ] = true, [ 54 ] = true, [ 55 ] = true, [ 56 ] = true, [ 63 ] = true, [ 64 ] = true, [ 69 ] = true, [ 75 ] = true, [ 76 ] = true, [ 77 ] = true, [ 85 ] = true, [ 87 ] = true, [ 88 ] = true, [ 89 ] = true, [ 90 ] = true, [ 91 ] = true, [ 92 ] = true, [ 93 ] = true, [ 129 ] = true, [ 130 ] = true, [ 131 ] = true, [ 138 ] = true, [ 139 ] = true, [ 140 ] = true, [ 141 ] = true, [ 145 ] = true, [ 148 ] = true, [ 150 ] = true, [ 151 ] = true, [ 152 ] = true, [ 157 ] = true, [ 169 ] = true, [ 178 ] = true, [ 190 ] = true, [ 191 ] = true, [ 192 ] = true, [ 193 ] = true, [ 194 ] = true, [ 195 ] = true, [ 196 ] = true, [ 197 ] = true, [ 198 ] = true, [ 199 ] = true, [ 201 ] = true, [ 205 ] = true, [ 207 ] = true, [ 211 ] = true, [ 214 ] = true, [ 215 ] = true, [ 216 ] = true, [ 218 ] = true, [ 219 ] = true, [ 224 ] = true, [ 225 ] = true, [ 226 ] = true, [ 231 ] = true, [ 232 ] = true, [ 233 ] = true, [ 237 ] = true, [ 238 ] = true, [ 243 ] = true, [ 244 ] = true, [ 245 ] = true, [ 246 ] = true,
  7. no let the timer, now go to the end of the script and then add the event handler.
  8. and maybe you may add the event handler "onElementModelChange" try it .
  9. maybe you may set timer for function checkskin. and set the timer for 1000 like every 1 second it refresh. try it.
  10. No one of those codes work.. Thanks anyway
  11. I tried this but dont works.. function createbTeam() bTeam = createTeam("Bodyguard", 255, 255, 255) end addEventHandler ("onResourceStart", resourceRoot, createbTeam) function payday() local playersb = getPlayersInTeam(bTeam) mon = math.random ( 10000, 25000 ) setTimer( givePlayerMoney, 1200000, 300, playersb, mon ) setTimer( outputChatBox, 1200000, 300, "Here is your payement.You can continue protecting to earn more. You got $ "..mon, playersb, 255, 255, 0 ) end
  12. Hi , I have made this script, its a Bodyguard job. But I need help, I want it gives money only for players that are in Bodyguards team. Thanks for advance Server SIide: function createbTeam() bTeam = createTeam("Bodyguard", 255, 255, 255) uTeam = createTeam("Unemployed", 255, 255, 0) end addEventHandler ("onResourceStart", resourceRoot, createbTeam) function beginjob ( localPlayer ) setPlayerTeam ( source, bTeam ) setElementData (source, "Occupation", "Bodyguard", true) giveWeapon (source, 31, 5000) setElementModel ( source, 166 ) setPlayerNametagColor(source, 255, 255, 255) outputChatBox("You are now employed as Staff's Bodyguard. ", source, 255, 255, 0) outputChatBox("You Won't be able to walk , just fire to protect the base.. ", source, 255, 255, 0) outputChatBox("You can use Invincible Mode by typing /bodyguard when you are protecting the base.", source, 255, 255, 0) outputChatBox("To leave the job, just type /quitjob ", source, 0, 255, 0) setElementFrozen(source, true) triggerEvent("payday", source) end addEvent("bjob", true) addEventHandler("bjob",root,beginjob) function quitjob ( thePlayer ) setPlayerTeam ( source, uTeam ) setElementData (source, "Occupation", "Unemployed", true) setElementModel ( source, 78 ) outputChatBox("You are now Unemployed. ", source, 255, 255, 0) setElementFrozen(source, false) takeWeapon(source, 31, 5000) end addEvent("qjob", true) addEventHandler("qjob",root,quitjob) function gaga(thePlayer) if getElementData(thePlayer,"invincible") then setElementData(thePlayer,"invincible",false) outputChatBox("Invincible Mode is now off.",thePlayer,255,255,255) else setElementData(thePlayer,"invincible",true) outputChatBox("Invincible Mode is now on.",thePlayer,255,255,255) end end addCommandHandler("bodyguard",gaga) function payday() mon = math.random ( 10000, 25000 ) setTimer( givePlayerMoney, 1200000, 300, source, mon ) setTimer( outputChatBox, 1200000, 300, "Here is your payement.You can continue protecting to earn more. You got $ "..mon, source, 255, 255, 0 ) end addEvent("payday", true) addEventHandler("payday",root,payday) Client Side: GUIEditor = { staticimage = {}, label = {}, button = {}, window = {}, memo = {} } bjobwindow = guiCreateWindow(310, 186, 493, 314, "Job: Bodyguard", false) guiWindowSetSizable(bjobwindow, false) guiSetVisible(bjobwindow, false) GUIEditor.memo[1] = guiCreateMemo(28, 25, 283, 159, "This is a Bodyguard Job, you need just to Protect this Staff's base.\nYou won't be able to walk.\nYou'll get your reward every 20 minutes.\nBe sure to don't let criminals attack it.\n\n#Job Created By Staffs Members.\n#Thanks for protecting us.", false, bjobwindow) GUIEditor.staticimage[1] = guiCreateStaticImage(375, 53, 108, 110, ":bodyguard/Login.png", false, bjobwindow) abjob = guiCreateButton(77, 253, 128, 38, "Accept", false, bjobwindow) dbjob = guiCreateButton(321, 253, 128, 38, "Decline", false, bjobwindow) GUIEditor.label[1] = guiCreateLabel(234, 201, 175, 42, "CRP:RPG", false, bjobwindow) local font_0 = guiCreateFont(":bodyguard/font.ttf") guiSetFont(GUIEditor.label[1], font_0) guiLabelSetColor(GUIEditor.label[1], 6, 35, 210) bMarker = createMarker ( 2865.9826660156, -1948.5070800781, 10.109375, "cylinder", 1.5 ) function Bjob(hitElement) if getElementType(hitElement) == "player" and (hitElement == localPlayer) then if not guiGetVisible(bjobwindow) then guiSetVisible(bjobwindow, true) showCursor(true) end end end addEventHandler("onClientMarkerHit", bMarker, Bjob) function Bjobleave(leaveElement) if getElementType(leaveElement) == "player" and (leaveElement == localPlayer) then if guiGetVisible(bjobwindow) then guiSetVisible(bjobwindow, false) showCursor(false) end end end addEventHandler("onClientMarkerLeave", bMarker, Bjobleave) function joinTeam() triggerServerEvent("bjob",localPlayer) guiSetVisible(bjobwindow, false) showCursor(false) end addEventHandler("onClientGUIClick", abjob , joinTeam, false) function removeBWindow() guiSetVisible(bjobwindow, false) showCursor(false) end addEventHandler("onClientGUIClick", dbjob , removeBWindow, false) function quitbjob() triggerServerEvent("qjob", localPlayer) end addCommandHandler("quitjob", quitbjob)
  13. You need to be logged in to get yourself in an ACL Group...
  14. This one , you must type the command /adminskin and you may choose your skin id then if the plaayer is aclgroup "Admin" then he will be given this skin, good luck function lol ( player, command ) if ( not isObjectInACLGroup( "user."..getAccountName( getPlayerAccount( player ) ), aclGetGroup( "Admin" ) ) ) then return end setElementModel(player, your_skin_id) outputChatBox("here is your admin skin", player, 133, 133, 133) end addCommandHandler ( "adminskin", lol )
  15. try this. addEventHandler("onElementModelChange", root, function (thePlayer) local account = getPlayerAccount(thePlayer) local accountName = getAccountName(account) if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( "Admin" ) ) ) then setElementModel(thePlayer, 1) else outputChatBox("Only Admin Members can take this skin", 0, 255, 0) cancelEvent() end end)
  16. addEventHandler("onElementModelChange", root, function () if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) then setElementModel(source, model_id) else outputChatBox("Only Admin Members can take this skin", 0, 255, 0) cancelEvent() end end)
  17. now the error: MODULE: Unable to find modules/mta_mysql.dll! doesnt appear i resolved it but still cannot start the resources it says thi error: ERROR: Unable to start resource "reouce_name"; Start up of resource cancelled by script Help again please , thanks
  18. I wanted to test MTA Paradise roleplay gamemode, i did all settings but when i start the server those error messages in the console: Thanks for the help ps: sorry for my bad english =========================================================== = Multi Theft Auto: San Andreas v1.3.1 =========================================================== = Server name : Paradise Roleplay 0.1 = Server IP address: = Server port : 22777 = = Log file : ..radise2/server/mods/deathmatch/logs/log.txt = Maximum players : 32 = MTU packet size : 1024 = HTTP port : 22006 =========================================================== [2013-02-07 12:40:55] ERROR: Couldn't find meta.xml file for resource 'gmod' [2013-02-07 12:40:55] Loading of resource 'gmod' failed [2013-02-07 12:41:04] ERROR: Couldn't find map Nippon.map for resource nippon [2013-02-07 12:41:04] Loading of resource 'nippon' failed [2013-02-07 12:41:26] ERROR: Couldn't find file stretch.txd for resource stretchmod [2013-02-07 12:41:26] Loading of resource 'stretchmod' failed [2013-02-07 12:41:27] ERROR: Couldn't find file tractor.txd for resource tractor [2013-02-07 12:41:27] Loading of resource 'tractor' failed [2013-02-07 12:41:28] ERROR: Couldn't find meta.xml file for resource 'TTQ' [2013-02-07 12:41:28] Loading of resource 'TTQ' failed [2013-02-07 12:41:31] Resources: 303 loaded, 0 failed [2013-02-07 12:41:31] Querying game-monitor.com master server... failed! (302: Moved temporarily) [2013-02-07 12:41:56] MODULE: Unable to find modules/mta_mysql.dll! [2013-02-07 12:41:56] MODULE: Loaded "SHA Module" (1.02) by "mabako" [2013-02-07 12:41:56] Starting resources... [2013-02-07 12:41:56] ERROR: Unable to start resource sql; Start up of resource cancelled by script [2013-02-07 12:41:57] ERROR: Unable to start resource players; Start up of resource cancelled by script [2013-02-07 12:41:57] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script [2013-02-07 12:41:57] ERROR: Unable to start resource interiors; Start up of resource cancelled by script [2013-02-07 12:42:00] ERROR: Unable to start resource items; Start up of resource cancelled by script [2013-02-07 12:42:07] ERROR: Unable to start resource shops; Start up of resource cancelled by script [2013-02-07 12:42:11] ERROR: Unable to start resource maps; Start up of resource cancelled by script [2013-02-07 12:42:11] ERROR: Unable to start resource teleports; Start up of resource cancelled by script [2013-02-07 12:42:14] ERROR: Unable to start resource bank; Start up of resource cancelled by script [2013-02-07 12:42:15] ERROR: Unable to start resource factions; Start up of resource cancelled by script [2013-02-07 12:42:15] ERROR: Unable to start resource 3dtext; Start up of resource cancelled by script [2013-02-07 12:42:31] ERROR: Couldn't find resource stretchmod. Check it exists. [2013-02-07 12:42:40] Server started and is ready to accept connections! [2013-02-07 12:42:40] _ _ _ [2013-02-07 12:42:40] | | | (_) [2013-02-07 12:42:40] _ __ ___ | |_ __ _ _ __ __ _ _ __ __ _ __| |_ ___ ___ [2013-02-07 12:42:40] | '_ ` _ \| __/ _` | | '_ \ / _` | '__/ _` |/ _` | / __|/ _ \ [2013-02-07 12:42:40] | | | | | | || (_| | | |_) | (_| | | | (_| | (_| | \__ \ __/ [2013-02-07 12:42:40] |_| |_| |_|\__\__,_| | .__/ \__,_|_| \__,_|\__,_|_|___/\___| [2013-02-07 12:42:40] | | [2013-02-07 12:42:40] |_| v1.1b [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] Server stopped! [2013-02-07 12:42:40] Stopping resources.............................................................. [2013-02-07 12:42:49] Closing SQLite3 database [2013-02-07 12:42:49] Closing SQLite3 database
  19. I wanted to test MTA Paradise roleplay gamemode, i did all settings but when i start the server those error messages in the console: Thanks for the help ps: sorry for my bad english =========================================================== = Multi Theft Auto: San Andreas v1.3.1 =========================================================== = Server name : Paradise Roleplay 0.1 = Server IP address: = Server port : 22777 = = Log file : ..radise2/server/mods/deathmatch/logs/log.txt = Maximum players : 32 = MTU packet size : 1024 = HTTP port : 22006 =========================================================== [2013-02-07 12:40:55] ERROR: Couldn't find meta.xml file for resource 'gmod' [2013-02-07 12:40:55] Loading of resource 'gmod' failed [2013-02-07 12:41:04] ERROR: Couldn't find map Nippon.map for resource nippon [2013-02-07 12:41:04] Loading of resource 'nippon' failed [2013-02-07 12:41:26] ERROR: Couldn't find file stretch.txd for resource stretchmod [2013-02-07 12:41:26] Loading of resource 'stretchmod' failed [2013-02-07 12:41:27] ERROR: Couldn't find file tractor.txd for resource tractor [2013-02-07 12:41:27] Loading of resource 'tractor' failed [2013-02-07 12:41:28] ERROR: Couldn't find meta.xml file for resource 'TTQ' [2013-02-07 12:41:28] Loading of resource 'TTQ' failed [2013-02-07 12:41:31] Resources: 303 loaded, 0 failed [2013-02-07 12:41:31] Querying game-monitor.com master server... failed! (302: Moved temporarily) [2013-02-07 12:41:56] MODULE: Unable to find modules/mta_mysql.dll! [2013-02-07 12:41:56] MODULE: Loaded "SHA Module" (1.02) by "mabako" [2013-02-07 12:41:56] Starting resources... [2013-02-07 12:41:56] ERROR: Unable to start resource sql; Start up of resource cancelled by script [2013-02-07 12:41:57] ERROR: Unable to start resource players; Start up of resource cancelled by script [2013-02-07 12:41:57] ERROR: Unable to start resource vehicles; Start up of resource cancelled by script [2013-02-07 12:41:57] ERROR: Unable to start resource interiors; Start up of resource cancelled by script [2013-02-07 12:42:00] ERROR: Unable to start resource items; Start up of resource cancelled by script [2013-02-07 12:42:07] ERROR: Unable to start resource shops; Start up of resource cancelled by script [2013-02-07 12:42:11] ERROR: Unable to start resource maps; Start up of resource cancelled by script [2013-02-07 12:42:11] ERROR: Unable to start resource teleports; Start up of resource cancelled by script [2013-02-07 12:42:14] ERROR: Unable to start resource bank; Start up of resource cancelled by script [2013-02-07 12:42:15] ERROR: Unable to start resource factions; Start up of resource cancelled by script [2013-02-07 12:42:15] ERROR: Unable to start resource 3dtext; Start up of resource cancelled by script [2013-02-07 12:42:31] ERROR: Couldn't find resource stretchmod. Check it exists. [2013-02-07 12:42:40] Server started and is ready to accept connections! [2013-02-07 12:42:40] _ _ _ [2013-02-07 12:42:40] | | | (_) [2013-02-07 12:42:40] _ __ ___ | |_ __ _ _ __ __ _ _ __ __ _ __| |_ ___ ___ [2013-02-07 12:42:40] | '_ ` _ \| __/ _` | | '_ \ / _` | '__/ _` |/ _` | / __|/ _ \ [2013-02-07 12:42:40] | | | | | | || (_| | | |_) | (_| | | | (_| | (_| | \__ \ __/ [2013-02-07 12:42:40] |_| |_| |_|\__\__,_| | .__/ \__,_|_| \__,_|\__,_|_|___/\___| [2013-02-07 12:42:40] | | [2013-02-07 12:42:40] |_| v1.1b [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedRotation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] WARNING: Bad 'element' pointer @ 'setPedAnimation'(1) [2013-02-07 12:42:40] Server stopped! [2013-02-07 12:42:40] Stopping resources.............................................................. [2013-02-07 12:42:49] Closing SQLite3 database [2013-02-07 12:42:49] Closing SQLite3 database
  20. Thanks it works , but now it spawns two cars not one when i click two times on selected vehicle. thanks again
  21. Now, I cant spawn a vehicle when I click on one..
  22. For example: I select sanchez the gui will close and get sanchez, but when i click two times on another gui , (admin panel...) it spawns me the sanchez , you understand what i mean?
×
×
  • Create New...