Jump to content

Killscript


Nico.de

Recommended Posts

Posted

The script should work if you setup up it's meta.xml correctly.

P.S: Bandi, the second argument is theKiller, that's not required, please take some time reading the required arguments.

Required Arguments: 
thePed: The ped to kill 

Posted
function KillCmd ( thePlayer, cmd ) 
    if ( thePlayer ) then 
        killPed ( thePlayer ) 
    end 
end 
addCommandHandler ( "kill", KillCmd ) 

Posted

It's obvious, it's script not file.

meta.xml:

<meta> 
<info author="[GCC]^_Nico.de" type="script" /> 
  
<script src="kill.lua" type="server" /> 
  
</meta> 

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...