hlmod.hu https://hlmod.hu/ |
|
Semiclip Ultimate 2013 [Minden Játék] + ZP Integráció https://hlmod.hu/viewtopic.php?f=22&t=15116 |
Oldal: 1 / 1 |
Szerző: | Badboy.killer [ 2014.03.24. 18:43 ] | ||
Hozzászólás témája: | Semiclip Ultimate 2013 [Minden Játék] + ZP Integráció | ||
[kozep]Egymáson átjárás (Semiclip)[/kozep] Ez a modul lehetővé teszi a játékosoknak, hogy átmehessenek más játékosokon! Ha Terrorista vagy, akkor nem tudsz majd átmenni egy CT-n! http://img801.imageshack.us/img801/2325 ... cz0004.png http://img594.imageshack.us/img594/1636 ... cz0003.png http://img854.imageshack.us/img854/2285 ... cz0000.png http://img51.imageshack.us/img51/9302/d ... cz0000.png [kozep]---------------------------------------------------------------------------------------------------[/kozep] [kozep]Információk[/kozep] A modult minden játék támogatja! A Konzol Változók listája lejjebb. Az amxx.cfg fájlba kell beírni. Kód: // Átlátszósági effekt. [kozep]---------------------------------------------------------------------------------------------------[/kozep] [kozep]Zombie Plague 4.3 Integráció[/kozep] Illeszd be a zombie_plague40.sma-ba a következő kódrészt. [ablak]// Egy játékos csapatának beállítása stock fm_cs_set_user_team(id, team) { // Prevent server crash if entity's private data not initalized if (pev_valid(id) != PDATA_SAFE) return; set_pdata_int(id, OFFSET_CSTEAMS, team, OFFSET_LINUX) }[/ablak]A kódba beillesztve: [ablak]#include <cs_team_changer> // Egy játékos csapatának beállítása stock fm_cs_set_user_team(id, team) { // Prevent server crash if entity's private data not initalized if (pev_valid(id) != PDATA_SAFE) return; set_pdata_int(id, OFFSET_CSTEAMS, team, OFFSET_LINUX) cs_set_team_id(id, team) }[/ablak]Telepítés: cs_team_changer_amxx.dll és cs_team_changer_amxx_i386.so -> modules mappába cs_team_changer.inc -> addons/amxmodx/scripting/include mappába és csak ezután kompájlerezd a módosított plugint. [kozep]---------------------------------------------------------------------------------------------------[/kozep] [kozep]Zombie Plague 5.0 Integráció[/kozep] Illeszd be a cs_teams_api.sma-ba a következő kódrészt. [ablak]// Egy játékos csapatának beállítása stock fm_cs_set_user_team(id, CsTeams:team, send_message) { // Prevent server crash if entity's private data not initalized if (pev_valid(id) != PDATA_SAFE) return; // Already belongs to the team if (cs_get_user_team(id) == team) return; // Remove previous team message task remove_task(id+TASK_TEAMMSG) // Set team offset set_pdata_int(id, OFFSET_CSTEAMS, _:team) // Send message to update team? if (send_message) fm_user_team_update(id) }[/ablak]A kódba beillesztve: [ablak]#include <cs_team_changer> // Egy játékos csapatának beállítása stock fm_cs_set_user_team(id, CsTeams:team, send_message) { // Prevent server crash if entity's private data not initalized if (pev_valid(id) != PDATA_SAFE) return; // Already belongs to the team if (cs_get_user_team(id) == team) return; // Remove previous team message task remove_task(id+TASK_TEAMMSG) // Set team offset set_pdata_int(id, OFFSET_CSTEAMS, _:team) cs_set_team_id(id, _:team) // Send message to update team? if (send_message) fm_user_team_update(id) }[/ablak]Telepítés: cs_team_changer_amxx.dll és cs_team_changer_amxx_i386.so -> modules mappába cs_team_changer.inc -> addons/amxmodx/scripting/include mappába és csak ezután kompájlerezd a módosított plugint.
|
Oldal: 1 / 1 | Minden időpont UTC+02:00 időzóna szerinti |
Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |