Jump to content
Welcome, Guest
Existing user? Sign In

Sign In

Sign Up
Jică Măcelaru'

Restart automat (autoRR.amxx)

Recommended Posts


Restart Automat
(Versiune: 1.1 | Autor: Nume)


  • Descriere: Acest plugin dă restart automat după prima rundă. Are screen efect în funcție de echipă.



  • Cvar-uri:
first_msg "text" //(Default: "Prima rundă a fost restartată cu succes!")
second_msg "text" //(Default: "www.fioriginal.ro")
  • Instalare:

  1. Copiem fisierul autoRR.sma in addons/amxmodx/scripting
  2. Copiem fisierul autoRR.amxx in addons/amxmodx/plugins
  3. Deschidem addons/amxmodx/configs/plugins.ini si adaugam la urma :

Share this post

Link to post
Share on other sites

de preferat, pune sursa pe pastebin sau pe un site de genul, e mult mai usor de verificat codul.

la declararile globale, mereu initializarea unei variabile va fi 0. pe lang asta, incearca sa iti declari variabilele pe aceasi rand.. nu trebuie sa pui mereu pe alt rad (nu va afecta pluginul, dar din cod se vede daca esti incepator sau nu)

Share this post

Link to post
Share on other sites

incearca-l pe asta: 

/* Plugin generated by AMXX-Studio */

#include < amxmodx >

#define PLUGIN "Auto Restart"
#define VERSION "1.0"
#define AUTHOR "tre3fla"

public plugin_init( ) {
register_plugin( PLUGIN, VERSION, AUTHOR )

register_event ( "TextMsg", "game_comencing", "a", "2&#Game_C" )

public game_comencing( ) {
server_cmd( "sv_restart ^"10^"" )



Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

About Us

Fioriginal.Ro Gaming community

© FiOriginal.ro

Important Links


Important Links

Making a comeback
  • Create New...