Jump to content

Mσнαмα∂ Hєℓιѕн

Members
  • Posts

    63
  • Joined

  • Last visited

Everything posted by Mσнαмα∂ Hєℓιѕн

  1. Hello How to write a code to get a referral ID when players enter the server and save it in the database! I do not want this code from you, I just want the functions of this code! Thanks
  2. As I said, do not interfere with things that are not relevant to you Maybe I'm not active in the forum, but my coding is stronger than you In the meantime, I wrote this code in no hurry and did not test at all!
  3. What do you mean ? I want to help forum users learn coding! Please do not interfere in cases that are not relevant to you
  4. function respawnPlayer() fadeCamera(source,false,1.0,0,0,0) setTimer(fadeCamera,2000,1,source,true,1.0,0,0,0) setCameraTarget(source,source) showChat(source,true) showPlayerHudComponent(source,"radar",true) showPlayerHudComponent(source,"area_name",true) spawnPlayer(source,1224.029296875, -1814.9765625, 16.59375,accData.skin) end addEventHandler("onPlayerWasted", getRootElement(), respawnPlayer) @Dimos7 plz help me
  5. function respawnPlayer() fadeCamera(source,false,1.0,0,0,0) setTimer(fadeCamera,2000,1,source,true,1.0,0,0,0) setCameraTarget(source,source) showChat(source,true) showPlayerHudComponent(source,"radar",true) showPlayerHudComponent(source,"area_name",true) spawnPlayer(source,1224.029296875, -1814.9765625, 16.59375,accData.skin) end addEventHandler("onPlayerWasted", getRootElement(), respawnPlayer)
  6. function vipWeapon (thePlayer) local accName = getAccountName (getPlayerAccount (player) if isObjectInACLGroup("user."..accName, aclGetGroup ( "VIP" )) then giveWeapon(thePlayer,31,20000) outputChatBox ( "Enjoy!", thePlayer) else outputChatBox("Your Not a VIP Member", thePlayer) end end addCommandHandler("vgun",giveWeapon) try this
  7. hi guys i have a problem im try for fix this problem but i can't players when death don't respawn how to fix it ?
  8. Hi We are here to help you build code Not to make code for you!
  9. <group name="Admin"> <acl name="Moderator"></acl> <acl name="SuperModerator"></acl> <acl name="Admin"></acl> <acl name="RPC"></acl> <object name="resource.admin"></object> <object name="resource.webadmin"></object> <object name="resource.acpanel"></object> <object name="user.Helish"></object> </group> my inGame nickname : Helish
  10. Hello I have a problem My problem is in database I do not have any tables for save player admin level im admin in ACL.xml But when I'm in the game, I'm not an admin Is this a problem? this is my database problem or acl problem ? you can help me?
  11. try this : function enterVehicle (player, seat, jacked) local accName = getAccountName (getPlayerAccount (player) if not isObjectInACLGroup("user."..accName, aclGetGroup ( "VIP" )) and getElementModel(source) == 429 then cancelEvent() outputChatBox ( "Only VIP Can Enter This Vehicle", player) end end addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle )
  12. Hi guys I have a problem, can you solve it? My problem is that when players on ElementData have not been saved to my server! For example, I was setElementData (thePlayer, "faction", police), and when I got out of the server and entered the server again, I was no longer in the police faction. please help.
  13. function enterVehicle (player, seat, jacked) local accName = getAccountName (getPlayerAccount (player) if not isObjectInACLGroup("user."..accName, aclGetGroup ( "VIP" )) and getElementModel(source) == 411 then cancelEvent() outputChatBox ( "Only VIP Can Enter This Vehicle", player) end end addEventHandler ( "onVehicleStartEnter", getRootElement(), enterVehicle ) try this you're welcome
  14. hi guys how to kick player from dimension id 5 ? for example : player after 5 minutes kick from dimension id 5 plz not make it! just give me functions
  15. xXGHOSTXx is IRanian Noob Scripter
×
×
  • Create New...