Jump to content

Chris!i!

Members
  • Posts

    213
  • Joined

  • Last visited

Everything posted by Chris!i!

  1. i used MTADiag for it and this is the link : http://pastebin.mtasa.com/509234177 i think it is but maybe same as the old one well anyway try it.
  2. Ok, look i re-installed my gta and look what it says : The instruction at 0x00746929 referenced memory at 0x00000000. The memory could not be read. Click on OK to terminate the program Yes i have a anti-virus installed with my windows 8 and it run normally.
  3. http://pastebin.mtasa.com/142056872
  4. Ok, i'm doing what your saying to me.
  5. first one : Error Code 0x800F080C and when i press Close it says Grand Theft Auto SA requires at least DirectX version 9.0
  6. ccw i downloaded this directX and nothing helped me it just putted me 20-30 files in my gta sa folder and nothing worked.
  7. Yea i know it's not here to post and i know it's not the right forum to post this messega but its the only forum that can help me. i went to a store to he download for me photoshop im a skin designer etc... he saw a virus so i formatted my computer and made him windows 8 well i installed MTA + GTA and no of these runned i searched a lot and in steam's community and nthing helped me it says a error code and after i close this error code it says : GTA san andreas need at least DirectX 9.0 i downloaded 9.0 and it didnt worked and i downloaded it 4 times and i did somethings like extract d3dx9 these idk what and it didnt worked same error plz i need help my school will start soon and i will stop using laptop i need to play mta before school starts plz answer me fast (i downloaded DirectX and the full gta that is working on my second laptop) thanks for your help.
  8. Chris!i!

    [HELP]Skin

    Well i have a skin made by me i need to set it only for my account name and in the Skin Shop it looks normal not modded but if i have it all people can see it someone give me some functions or try to do the hard part cauz i cant ! thanks.
  9. Well i'm rly sure but i think from resources maybe start 200 by 200 by 200 and here they finish well i'm experienced with these things but try.
  10. I recommend this: for i = 1, 24 do guiGridListAddRow(GUIEditor.gridlist[2]) end -- rest of the code..... didnt worked
  11. .-. i need it every row should have his own Style ID
  12. Hello i was making a walking style script well anyone can help me. GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 546) / 2, (screenH - 229) / 2, 546, 229, "Walking Style", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") guiSetVisible(GUIEditor.window[1], false) GUIEditor.gridlist[2] = guiCreateGridList(9, 26, 365, 193, false, GUIEditor.window[1]) guiGridListAddColumn(GUIEditor.gridlist[2], "Styles", 0.5) guiGridListAddColumn(GUIEditor.gridlist[2], "ID", 0.5) for i = 1, 24 do guiGridListAddRow(GUIEditor.gridlist[2]) local Default = guiGridListSetItemText(GUIEditor.gridlist[2], 0, 1, "Default", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 0, 2, "0", false, false) local Sneak = guiGridListSetItemText(GUIEditor.gridlist[2], 1, 1, "Sneak", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 1, 2, "69", false, false) local Fat = guiGridListSetItemText(GUIEditor.gridlist[2], 2, 1, "Fat", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 2, 2, "55", false, false) local Muscular = guiGridListSetItemText(GUIEditor.gridlist[2], 3, 1, "Muscular", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 3, 2, "56", false, false) local Man = guiGridListSetItemText(GUIEditor.gridlist[2], 4, 1, "Man", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 4, 2, "118", false, false) local FatMan = guiGridListSetItemText(GUIEditor.gridlist[2], 5, 1, "Fat Man", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 5, 2, "124", false, false) local Gang1 = guiGridListSetItemText(GUIEditor.gridlist[2], 6, 1, "Gang One", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 6, 2, "121", false, false) local Gang2 = guiGridListSetItemText(GUIEditor.gridlist[2], 7, 1, "Gang Two", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 7, 2, "122", false, false) local Blind = guiGridListSetItemText(GUIEditor.gridlist[2], 8, 1, "Blind Man", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 8, 2, "127", false, false) local SWAT = guiGridListSetItemText(GUIEditor.gridlist[2], 9, 1, "S.W.A.T", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 9, 2, "128", false, false) local Hooker = guiGridListSetItemText(GUIEditor.gridlist[2], 10, 1, "Hooker", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 10, 2, "133", false, false) local OldMan = guiGridListSetItemText(GUIEditor.gridlist[2], 11, 1, "Old Man", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 11, 2, "120", false, false) local SexyWoman = guiGridListSetItemText(GUIEditor.gridlist[2], 12, 1, "Sexy Woman", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 12, 2, "132", false, false) local JoggerMan = guiGridListSetItemText(GUIEditor.gridlist[2], 13, 1, "Jogger Woman", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 13, 2, "136", false, false) local Shuffle = guiGridListSetItemText(GUIEditor.gridlist[2], 14, 1, "Shuffle", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 14, 2, "119", false, false) local Shopper = guiGridListSetItemText(GUIEditor.gridlist[2], 15, 1, "Shopper", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 15, 2, "130", false, false) local BusyWoman = guiGridListSetItemText(GUIEditor.gridlist[2], 16, 1, "Busy Woman", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 16, 2, "131", false, false) local OldFatWoman = guiGridListSetItemText(GUIEditor.gridlist[2], 17, 1, "Old Fat Woman", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 17, 2, "137", false, false) local Drunk = guiGridListSetItemText(GUIEditor.gridlist[2], 18, 1, "Drunk", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 18, 2, "126", false, false) local Woman = guiGridListSetItemText(GUIEditor.gridlist[2], 19, 1, "Woman", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 19, 2, "129", false, false) local JoggerWoman = guiGridListSetItemText(GUIEditor.gridlist[2], 20, 1, "Jogger Woman", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 20, 2, "136", false, false) local Jogger = guiGridListSetItemText(GUIEditor.gridlist[2], 21, 1, "Jogger", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 21, 2, "125", false, false) local DefaultFat = guiGridListSetItemText(GUIEditor.gridlist[2], 22, 1, "Default Fat", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 22, 2, "55", false, false) local DefaultMuscular = guiGridListSetItemText(GUIEditor.gridlist[2], 23, 1, "Default Muscular", false, false) guiGridListSetItemText(GUIEditor.gridlist[2], 23, 2, "56", false, false) GUIEditor.button[1] = guiCreateButton(377, 27, 159, 40, "Choose", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF1DFC00") GUIEditor.button[2] = guiCreateButton(378, 97, 158, 40, "Cancel", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFD0000") GUIEditor.label[1] = guiCreateLabel(380, 147, 156, 72, "Welcome to they gym here\n you can edit your walking\nstyle by choosing any style\nfrom the list!", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[1], 0, 156, 254) end end ) addEventHandler("onClientGUIClick",getRootElement(), function ( player ) local player2 = getLocalPlayer() if (source == GUIEditor.button[2]) then guiSetVisible (GUIEditor.window[1],false) showCursor (false) end end ) addEvent ("showGUI", true) function showGUI () if (getLocalPlayer() == source) then guiSetVisible (GUIEditor.window[1],true) showCursor(true) end end addEventHandler ("showGUI", getRootElement(), showGUI) function select () if (guiGridListGetSelectedItem (GUIEditor.gridlist[2])) then local id = guiGridListGetItemText (GUIEditor.gridlist[2], guiGridListGetSelectedItem (GUIEditor.gridlist[2]), 2) if id == Default then setPedWalkingStyle ( player, 69 ) guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end end addEventHandler("onClientGUIClick", GUIEditor.button[1], select, false) and ths is server blip1 = createBlip ( 2229.05859375, -1726.1688232422, 13.550597190857, 54) blip2 = createBlip ( -2267, -155, 36, 54) blip3 = createBlip ( 1969, 2296, 17, 54) local Marker = createMarker(758.49481201172, -64.987289428711, 999.800,"cylinder", 1.5, 127, 255, 0, 170) --LV setElementInterior ( Marker, 7 ) local Marker1 = createMarker(773.48370361328, -2.3588185310364, 999.800,"cylinder", 1.5, 127, 255, 255, 170) --LS setElementInterior ( Marker1, 5 ) local Marker2 = createMarker(759.57470703125, -48.2854347229, 999.800,"cylinder", 1.5, 127, 255, 0, 170) --SF setElementInterior ( Marker2, 6 ) function showGUI (hitPlayer, matchingDimension) if isPedInVehicle (hitPlayer) then return end if getElementType(hitPlayer) == "player" then triggerClientEvent ("showGUI", hitPlayer) end end addEventHandler ("onMarkerHit", resourceRoot, showGUI) /debugscript 3 problem is WARNING: Styles/style.lua(this is Client):119 Bad argument @ 'addEventHandler' [Expected element at argument 2, got nil] Any help ?
  13. Well, mitch your script is good but when a guy enter the marker job the GUI be shown to all players you must trigger it from Client to Server so you must create server side too.
  14. Chris!i!

    [HELP]mE

    anyone help me please D:
  15. Chris!i!

    [HELP]mE

    Yea i knew its isObjectinaclgroup but i tried it gave me errors trigger and shits i didnt knew anything so i deleted all things then i posted here to get help :3 and its urgent i need it soon.
  16. Chris!i!

    [HELP]mE

    Well i found a scrit on the community i need help on it and its kind of abusing for players i want to make it only for admins any help please --Server function grapplewarp ( wallstick, hx, hy, hz, angle, groundshot) local theVehicle = getPedOccupiedVehicle ( source ) if ( theVehicle ) then removePedFromVehicle (source) local carpurpose = (getElementData ( theVehicle, "purpose" )) if (carpurpose == "grapple") then destroyElement(theVehicle) end end setPedRotation ( source, angle ) local grapplegunslot = getPedWeaponSlot ( source ) local px,py,pz = getElementPosition(source) local pedrot = getPedRotation ( source ) local invisithing = createObject ( 1337, px, py, pz, 0, 0, pedrot ) setElementAlpha(invisithing, 0) moveObject ( invisithing, 1000, hx, hy, hz, 0, 0, angle - 180) attachElements ( source, invisithing, 0, 0, 0) setPedAnimation ( source, "PARACHUTE", "FALL_SkyDive_Accel", -1, false, true, true) local theplayer = source setTimer ( wallcling, 1000, 1, theplayer, wallstick, hx, hy, hz, angle, groundshot, grapplegunslot ) setTimer ( destroyElement, 1000, 1, invisithing) if (groundshot == 1) then setTimer ( landingonground, 1000, 1, theplayer) end end addEvent( "ongrapple", true ) addEventHandler( "ongrapple", getRootElement(), grapplewarp ) function wallcling (theplayer, wallstick, hx, hy, hz, angle, groundshot, grapplegunslot) if (groundshot == 2) then wallstick = createVehicle ( 522, hx, hy, hz, 120, 0, angle ) else wallstick = createVehicle ( 522, hx, hy, hz, 30, 0, angle ) end toggleControl ( theplayer, "horn", false ) showPlayerHudComponent ( theplayer, "vehicle_name", false ) setElementData ( wallstick, "purpose", "grapple" ) setVehicleFrozen (wallstick, true) setElementAlpha(wallstick, 0) warpPedIntoVehicle ( theplayer, wallstick ) setVehicleEngineState ( wallstick, false ) setPedDoingGangDriveby (theplayer, false ) setPedWeaponSlot ( theplayer, grapplegunslot ) setTimer ( restartgrapple, 500, 1, theplayer) end function restartgrapple (source) setPedDoingGangDriveby (source, true ) end function exitVehicle ( thePlayer, seat, jacked ) local carpurpose = (getElementData ( source, "purpose" )) if (carpurpose == "grapple") then toggleControl ( thePlayer, "horn", true ) showPlayerHudComponent ( thePlayer, "vehicle_name", true ) removePedFromVehicle (thePlayer) destroyElement(source) end end addEventHandler ( "onVehicleStartExit", getRootElement(), exitVehicle ) function landingonground (theplayer) local theVehicle = getPedOccupiedVehicle ( theplayer ) if ( theVehicle ) then local carpurpose = (getElementData ( theVehicle, "purpose" )) if (carpurpose == "grapple") then toggleControl ( theplayer, "horn", true ) showPlayerHudComponent ( theplayer, "vehicle_name", true ) removePedFromVehicle (theplayer) destroyElement(theVehicle) end end end addEvent( "ongrapplejump", true ) addEventHandler( "ongrapplejump", getRootElement(), landingonground) function getoff () local theVehicle = getPedOccupiedVehicle ( source ) if ( theVehicle ) then local carpurpose = (getElementData ( theVehicle, "purpose" )) if (carpurpose == "grapple") then toggleControl ( source, "horn", true ) showPlayerHudComponent ( source, "vehicle_name", true ) removePedFromVehicle (source) destroyElement(theVehicle) end end end addEventHandler( "onPlayerWasted", getRootElement(), getoff) addEventHandler( "onPlayerQuit", getRootElement(), getoff) function gluePlayer( vehicle, x, y, z, rotX, rotY, rotZ) local theVehicle = getPedOccupiedVehicle ( source ) if ( theVehicle ) then local carpurpose = (getElementData ( theVehicle, "purpose" )) if (carpurpose == "grapple") then attachElementToElement(theVehicle, vehicle, x, y, z, rotX, rotY, rotZ) end end end addEvent("gluePlayer",true) addEventHandler("gluePlayer",getRootElement(),gluePlayer) --Client --SETTINGS grapplegun = 23 --WHICH GUN WILL BE USED AS A GRAPPLE? gunrange = 5000 --HOW FAR WILL THE GRAPPLE RANGE BE? --DO NOT ALTER ANYTHING BELOW HERE if gunrange > 150 then gunrange = 150 end local processingPlayers = {} local root = getRootElement() local keys = getBoundKeys ( "Jump" ) function jumped () local theVehicle = getPedOccupiedVehicle ( getLocalPlayer() ) if ( theVehicle ) then local carpurpose = (getElementData ( theVehicle, "purpose" )) if (carpurpose == "grapple") then triggerServerEvent ( "ongrapplejump", getLocalPlayer(), getLocalPlayer() ) end end end if keys then for i,keyName in ipairs(keys) do bindKey ( keyName, "down", jumped ) end end function onClientPlayerWeaponFireFunc(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement ) if weapon == grapplegun then if source == getLocalPlayer() then toggleControl ( "fire", false ) setTimer ( toggleControl, 1200, 1, "fire", true ) toggleControl ( "vehicle_fire", false ) setTimer ( toggleControl, 1200, 1, "vehicle_fire", true ) if (hitElement) then if getElementType(hitElement) == "vehicle" then px = hitX py = hitY pz = hitZ local vx, vy, vz = getElementPosition(hitElement) local sx = px - vx local sy = py - vy local sz = pz - vz local x, y, z, lx, ly, lz = getCameraMatrix() local camangle = ( 360 - math.deg ( math.atan2 ( ( x - lx ), ( y - ly ) ) ) ) % 360 local rotpX = 30 local rotpY = 0 local rotpZ = camangle-180 local rotvX,rotvY,rotvZ = getVehicleRotation(hitElement) local t = math.rad(rotvX) local p = math.rad(rotvY) local f = math.rad(rotvZ) local ct = math.cos(t) local st = math.sin(t) local cp = math.cos(p) local sp = math.sin(p) local cf = math.cos(f) local sf = math.sin(f) local z = ct*cp*sz + (sf*st*cp + cf*sp)*sx + (-cf*st*cp + sf*sp)*sy local x = -ct*sp*sz + (-sf*st*sp + cf*cp)*sx + (cf*st*sp + sf*cp)*sy local y = st*sz - sf*ct*sx + cf*ct*sy local rotX = rotpX - rotvX local rotY = rotpY - rotvY local rotZ = rotpZ - rotvZ setTimer ( triggerServerEvent, 1200, 1,"gluePlayer", source, hitElement, x, y, z, rotX, rotY, rotZ ) end end setRadioChannel (0) local x, y, z = getPedTargetStart(getLocalPlayer()) local lx, ly, lz = getPedTargetEnd(getLocalPlayer()) local camlen = getDistanceBetweenPoints3D(x, y, z, lx, ly, lz) local fromX, fromY, fromZ = getPedBonePosition(getLocalPlayer(), 26) local toX = fromX + (lx - x)/camlen*gunrange local toY = fromY + (ly - y)/camlen*gunrange local toZ = fromZ + (lz - z)/camlen*gunrange local hit, hitX, hitY, hitZ = processLineOfSight(fromX, fromY, fromZ, toX, toY, toZ, true, true, false, true, false, true, true) groundshot = 0 if hit then if fromZ > hitZ then local len = getDistanceBetweenPoints3D(fromX, fromY, fromZ, hitX, hitY, hitZ) local hitX = fromX + (hitX - fromX)/len*(len - .5) local hitY = fromY + (hitY - fromY)/len*(len - .5) local ground = getGroundPosition ( hitX, hitY, hitZ + 1 ) local distance = (getDistanceBetweenPoints3D (hitX, hitY, hitZ, hitX, hitY, ground)) if distance < .3 then hitZ = hitZ + 1 groundshot = 1 end elseif fromZ < hitZ then local len = getDistanceBetweenPoints3D(fromX, fromY, fromZ, hitX, hitY, hitZ) local hitX = fromX + (hitX - fromX)/len*(len - .5) local hitY = fromY + (hitY - fromY)/len*(len - .5) local rooffree = isLineOfSightClear ( hitX, hitY, hitZ, hitX, hitY, hitZ + .4, true, true, false, true, false, true, true ) if not rooffree then groundshot = 2 hitZ = hitZ - .5 end end local len = getDistanceBetweenPoints3D(fromX, fromY, fromZ, hitX, hitY, hitZ) hitX = fromX + (hitX - fromX)/len*(len - .5) hitY = fromY + (hitY - fromY)/len*(len - .5) hitZ = fromZ + (hitZ - fromZ)/len*(len - .5) local angle = math.deg(math.atan2(hitY - fromY, hitX - fromX)) - 90 triggerServerEvent ( "ongrapple", getLocalPlayer(), wallstick, hitX, hitY, hitZ, angle, groundshot ) aplayer = source local thisname = getPlayerName(aplayer) local thisguyschip = createObject ( 1935, hitX, hitY, hitZ, 0, 0, pedrot ) setElementData ( aplayer, "targethook", thisguyschip ) setElementAlpha( thisguyschip, 0) processingPlayers[aplayer] = true setTimer ( stopline, 1000, 1, aplayer ) end else aplayer = source local thisname = getPlayerName(aplayer) local thisguyschip = createObject ( 1935, hitX, hitY, hitZ, 0, 0, pedrot ) setElementData ( aplayer, "targethook", thisguyschip ) setElementAlpha( thisguyschip, 0) processingPlayers[aplayer] = true setTimer ( stopline, 1000, 1, aplayer ) end else local theVehicle = getPedOccupiedVehicle ( getLocalPlayer() ) if (source == getLocalPlayer()) and ( theVehicle ) then local carpurpose = (getElementData ( theVehicle, "purpose" )) if (carpurpose == "grapple") then if (getPedWeaponSlot( getLocalPlayer() ) == 3) or (getPedWeaponSlot( getLocalPlayer() ) == 2) or (getPedWeaponSlot( getLocalPlayer() ) == 6) then toggleControl ( "fire", false ) setTimer ( toggleControl, 1200, 1, "fire", true ) toggleControl ( "vehicle_fire", false ) setTimer ( toggleControl, 1200, 1, "vehicle_fire", true ) end end end end end addEventHandler ( "onClientPlayerWeaponFire", getRootElement(), onClientPlayerWeaponFireFunc ) addEventHandler("onClientVehicleEnter", getRootElement(), function(thePlayer, seat) local carpurpose = (getElementData ( source, "purpose" )) if (carpurpose == "grapple") then setElementCollisionsEnabled(source, false) setVehicleEngineState ( source, false ) setVehicleOverrideLights ( source, 1 ) showPlayerHudComponent ( "vehicle_name", false ) if isElementInWater(source) and (thePlayer == getLocalPlayer()) then triggerServerEvent ( "ongrapplejump", getLocalPlayer(), getLocalPlayer() ) end end end ) function stationstop(station) local theVehicle = getPedOccupiedVehicle ( getLocalPlayer() ) if ( theVehicle ) then local carpurpose = (getElementData ( theVehicle, "purpose" )) if (carpurpose == "grapple") then oldslot = getPedWeaponSlot( getLocalPlayer() ) if oldslot == 2 then local ammo = getPedTotalAmmo ( getLocalPlayer(), 3 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 3 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 4 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 4 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 5 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 5 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 6 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 6 ) end end end end elseif oldslot == 3 then local ammo = getPedTotalAmmo ( getLocalPlayer(), 4 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 4 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 5 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 5 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 6 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 6 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 2 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 2 ) end end end end elseif oldslot == 4 then local ammo = getPedTotalAmmo ( getLocalPlayer(), 5 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 5 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 6 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 6 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 2 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 2 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 3 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 3 ) end end end end elseif oldslot == 5 then local ammo = getPedTotalAmmo ( getLocalPlayer(), 6 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 6 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 2 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 2 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 3 ) if ammo > 0 then setPedWeaponSlot ( getLocalPlayer(), 3 ) else local ammo = getPedTotalAmmo ( getLocalPlayer(), 4 ) if ammo > 0 then
  17. 1 more question i made a gui witha marker when the plaer hit the marker the GUI will be shown to all players in the server why can i add you in skype. Sorry for my bad english D:
  18. Thanks Man now my login and register system is done thanks all
  19. thanks verymuch but Register didnt worked and login worked debug says : server.lue:26: Access denied @ addAccount server.lua:27: Bad Argument @ logIn [Expected account at argument 2, got nil]
  20. Debug script 3 : line 75,74 Expected element at argument 2,got nil
×
×
  • Create New...