Jump to content

arris

Members
  • Content Count

    24
  • Joined

  • Last visited

Community Reputation

0 Neutral

About arris

  • Rank
    Civilian

Details

  • Gang
    KZ
  1. arris

    client side

    ok so i made two scritps they work but when i add the line takePlayerMoney it doesn't work heres the code and also this is all client side and its a guibutton function fixvehicle ( button, state ) if button == "left" and state == "down" then local clientPlayer = getLocalPlayer() if isPlayerInVehicle(clientPlayer) == true then local Vehicle = getPlayerOccupiedVehicle ( clientPlayer) fixVehicle(Vehicle) outputChatBox("Vehicle Successfully Fixed/Repaired",255,255,0,true) else outputChatBox("You are not in a vehicle",255,0,0,true) end end end and function fullhealth ( button, state ) if
  2. So im been working on a player menu for a little while and the problem im having is when the player press m the menu doesn't come up. Does anybody know what code i should use and also this player menu is work in progress. heres the code Window = {} Button = {} function changeState( source ) if getGuiVisible(Window[1]) then getSetVisible(Window[1]),false showCursor(false) else Window[1] = guiCreateWindow(618,138,512,595,"Player Menu",false) Button[1] = guiCreateButton(0.7348,0.3395,0.2551,0.0627,"Fix Vehicle $200",true,Window[1]) Button[2] = guiCreateButton(0.7368,0.4225,0.2551,0.0
  3. when i downloaded it i only change the loc. of the banks and thats it and when i hover my mouse over it the buttons are solid and you have to disconnect to get out of the bank screen and also this is happening with another script also and i never touched that scritp
  4. arris

    Does anyone know

    swears = (All the swears are here) function chat() if outputChatBox ==(swears) and getElementType(source)=="player" then outputChatBox ("PLEASE DONT SWEAR ON NRNS SERVERS!!!!... U CAN GET KICKED/BANNED", 255, 0, 0 ) end end addEventHandler ("onPlayerChat",source, chat ) and i get this is what it says in the console "WARNING: swear.lua: Bad argument @ 'addEventHandler' -Line: 7"
  5. Hi does anyone how to make a script that if a player swear he gets a warning and after 3 warning he gets kicked
  6. no the cursor moves but you can't click anything and its happening to everyone
  7. ok i replaced it but i still get the same error. Then i found out that i had a copy of my server folder and i placed that and now it works but i still can't click on anything.
  8. I'm using MTA DP 2.3 deathmatch and so when the player walks into the bank marker he can't click on anything not even the quit button, hes like frozen at the spot and it started happening when i started my server it said "WARNING: bank.xml.server.lua: Bad argument @ 'xmlNodeFindSubNode' -line: 20" I don't know how to fix it.
  9. ok so i got the thing working when the player tries to enter the car but now when i put on the police skin i can't enter the car
  10. can someone help me when i walk into the bank marker the gui window popup but i can't click on anything its not working i can't even click on the quit button.
  11. i tried what you guys said but it still doesn't work
  12. thank you for the info im using mta dp 2.3 deathmatch. The thing im trying to do is when a police man with the skin police enters the car he stay in it but if the person doesn't have the police skin he gets kick out of the car
  13. Hi i have this code but it doesn't work and it doesn't even come up with errors can someone help me local policevehicles = { [407]=true, [416]=true, [425]=true, [427]=true, [428]=true, [432]=true, [433]=true, [470]=true, [490]=true, [523]=true, [528]=true, [544]=true, [596]=true, [597]=true, [598]=true, [599]=true, [601]=true } local policeskins = { [280]=true, [281]=true, [282]=true, [283]=true, [284]=true, [285]=true, [286]=true, [287]=true, [288]=true } function enterVehicle ( theVehicle, seat, jacked ) local skinID = getPlayerSkin ( source ) local vehID = getVehicleID ( th
  14. arris

    Need help

    I did look and i found somethings but i didn't need those and so thats why i asked.
  15. arris

    Need help

    This is how i have it and it doesn't work function fix(button,state) --- BUTTON 1 local money = getPlayerMoney( player ) if money >= 200 then fixVehicle( vehicle ) takePlayerMoney( player, 200 ) else outputChatBox( "You need 200$ to repair your car", player, 255, 0, 0 ) end if button == "left" and state == "down" then local clientPlayer = getLocalPlayer() if isPlayerInVehicle(clientPlayer) == true then local Vehicle = getPlayerOccupiedVehicle ( clientPlayer) fixVehicle(Vehicle) outputChatBox("Vehicle Successfully Fixe
×
×
  • Create New...