Moderator: Fondator

Post Reply
Author
CODRINOFF
membru cs2
Posts: 287
Joined: Sat Feb 23, 2019 4:01 pm
Jucator: Counter strike 1.6
Message

[Plugin] CSDM Level Mod

Post by CODRINOFF » Sat Feb 23, 2019 10:03 pm

Descriere: Este un simplu level mod, am facut si native la el pentru a putea face pluginuri separate.
Descarcare: http://www.girlshare.ro/34142278.5

Code: Select all

/* Sublime AMXX Editor v2.2 */

#include <amxmodx>
//#include <amxmisc>
//#include <cstrike>
#include <engine>
// #include <fakemeta>
#include <hamsandwich>
// #include <fun>
// #include <xs>
// #include <sqlx> 

#define PLUGIN  "CSDM Level Mod"
#define VERSION "1.0.0"
#define AUTHOR  "Filip."

#define MAX_PLAYERS 33

enum penum {
	pXP,
	pLevel,
	pPoints
}
new PlayerData[MAX_PLAYERS][penum]

new Levels[] = {
	0,		// Nu sterge
 	500,		// 1
	1000,	// 2
	1500,	// 3
	2000,	// 4
	2500, 	// 5
	3000, 	// 6
	3500, 	// 7
	4000, 	// 8
	4500, 	// 9
	5000 	// 10

}

//new gString[256]


	if(id) players[0] = id;
	else get_players(players, count, "ch"); {
		for(new i = 0; i < count; i++) {
			if(is_user_connected(players[i])) {
				message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
				write_byte(players[i]);
				write_string(msg);
				message_end();
			}
		}
	} 
}
Nume: CSDM Level Mod
Versiune: 1.0.0
Instalare:

Code: Select all

1. Fisierul nume_plugin.sma il puneti in addons/amxmodx/scripting
2. Fisierul nume_plugin.amxx il puneti in addons/amxmodx/plugins
3. Intrati in fisierul addons/amxmodx/configs/plugins.ini si adaugati la urma:

nume_plugin.amxx
Cvar-uri:

Code: Select all

amx_comanda VALOARE - descrierea comenzii respective 
amx_comanda 20 - descrierea comenzii respective 
amx_comanda X - orice alta comanda de care dispune pluginul respectiv

Filiq_
Scripter cs
Posts: 1
Joined: Tue Jan 28, 2020 8:40 pm
Jucator: Global Offensive

Re: [Plugin] CSDM Level Mod

Post by Filiq_ » Thu Jan 30, 2020 2:15 pm

Vezi ca ai pus gresit sursa :))

Post Reply

Return to “Plugin”