Jump to content

JohnLehn

Members
  • Content Count

    11
  • Joined

  • Last visited

Community Reputation

1 Neutral

About JohnLehn

  • Rank
    Square

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello, can someone help me? When you hit the checkpoint, the menu will appear. I tried but it doesn't worked and no errors in console and debugscript 3. Thanks a lot!!! function bjcall(player, command) math.randomseed(rand()) outputChatBox("Starting Blackjack",player) double[player] = false GameOn[player] = false triggerClientEvent ( "startBJ", player, lmin) end addCommandHandler( "start", bjcall )
  2. Hello! I have the code bellow, how can i make it to teleport in vehicle? function sf (source, thePlayer) local adminname = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..adminname, aclGetGroup ( "Admin" ) ) then setElementPosition(thePlayer, -1997.923828125, 171.4658203125, 27.6875) else outputChatBox("No acces!", thePlayer, 255, 0, 0) end end addCommandHandler("gotosf", sf)
  3. Hello! I have a faction system for a Roleplay Server, made by me. I know i can use Owl Faction System, but i don't want. Bellow is my script. This is the problem: When i set a guy in a faction with [/setfactionleader <Name> <FactionID>] and he leaves, i doesn't save. And when he reconnects on server i must set him again the leader. How can i make it save? Here is my script. function makeleader (thePlayer, cmd, targetplayer, fraki) local Spielerdersoll = getPlayerFromName(targetplayer) local admin = getPlayerAccount(thePlayer) if (admin) then if getAccountData(admin, "
  4. NPC is that ped in Gta San Andreas who is walking on streets. I wanted the script for Emergency Server. Thanks for help!
  5. Hi! Can someone tell me how can i make this ? : When you aim a NPC with a gun it will appers in front of NPC a checkpoint, when you enter him, it will show you a small GUI with some buttons, like, " Check ID " or things like this. Please
  6. Hi ! I want to make a trunk system. I have a question, how can i make this : When the player entered in a car and then get out, a red marker will be spawned at the trunk. If you are entering the marker you will get a simple panel ( I have the panel ). Can you please, help me ?
  7. Thanks ! It worked ! How can i make it to be only one number per user, when i type /d <text> look how it is working: [Unit 46]BigNighT: s [Unit 36]BigNighT: f [Unit 6]BigNighT: s
  8. function dchat ( thePlayer, _, ... ) local message = table.concat ( { ... }, " " ) if ( isPlayerOnGroup ( thePlayer ) ) then for _, player in ipairs ( getElementsByType ( "player" ) ) do if ( isPlayerOnGroup ( player ) ) then outputChatBox ( "#0066cc[Unit ".. numbers .."]#0066cc".. getPlayerName ( thePlayer ) ..": #0066cc".. message, player, 255, 255, 255, true ) end end else outputChatBox ( "#838b83Error!", thePlayer, 255, 255, 255, true ) end end addCommandHandler ( "d", dchat ) function randomnum(player) local
  9. Ok, i did it, now what i must to use ? I want :Just click on the car and get a OutPutChatBox: You don't have necessary level to use this car !
  10. Hi! Can someone tell me how can i make this : A red marker and when you are entering you will get a panel. You choose your vehicle by account level. It will be a list of vehicles. Let's say infernus. You need level 1 to spawn it. To spawn it you need to press the button "Spawn". How can i do this ?
×
×
  • Create New...