Jump to content

HELP ANTI SPAM


DeathMta

Recommended Posts

I mean that in a timeout to put a command

function CurarseAdmin (player) 
local Cuenta = getAccountName (getPlayerAccount(player)) 
     if isObjectInACLGroup ("user."..Cuenta, 
     aclGetGroup ("Admin") and 
     aclGetGroup ("SuperModerator") and 
     aclGetGroup ("Moderator") and 
     aclGetGroup ("Console")) then 
      
        setElementData(player, "blood", 100000000 ) 
        setElementData(player,"food",100) 
        setElementData(player,"thirst",100) 
        setElementData(player,"brokenbone",false) 
        setElementData(player,"bleeding",0) 
        setElementData(player,"pain",false) 
  exports [ "errorinfowindow" ]:show (player,"info","Te Has Curado En Todo.",2000,"[staff]: Informacion",false) 
    else 
 exports [ "errorinfowindow" ]:show (player,"info","Acceso Restringido.",2000,"[staff]: Informacion",false) 
end 
end 
addCommandHandler ("curarse",CurarseAdmin) 

by putting the command has a timeout

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...