CeKiT Posted April 17, 2012 Posted April 17, 2012 Hola! Queria saber como podia hacer para que un usuario al poner /logout lo kické. Por que detecte un bug en mi server que duplican el dinero. Usando ese comando. Saludos
Castillo Posted April 17, 2012 Posted April 17, 2012 addEventHandler ( "onPlayerCommand", root, function ( cmd ) if ( cmd == "logout" ) then kickPlayer ( source, nil, "Este comando esta prohibido." ) cancelEvent ( ) end end ) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Soren Posted April 17, 2012 Posted April 17, 2012 Yo digo que sin kickeralo y solo poner un outputChatBox que diga que no esta proibido y cancelar el evento
Recommended Posts