[Zombie Deathmatch]Tutorial Inregistrare Clasa de Zombie
Just4You :: COUNTER-STRIKE :: Tutoriale
Pagina 1 din 1
[Zombie Deathmatch]Tutorial Inregistrare Clasa de Zombie
[size=150]Counter Strike Zombie Deathmatch[/size]
Salut!O sa va arat cat de simplu puteti crea clase de zombie pentru modul Zombie Deathmatch.
Includem <amxmodx> , <zombie_deathmatch> si celelalte module necesare:
In final va arata asa:
[sursa=]#include <amxmodx>
#include <fun>
#include <zombie_deathmatch>
new g_new_class_zombie
public plugin_init()
{
g_new_class_zombie = zd_register_zombie_class("New Zombie Class")
}
public zd_zombie_class_selected(iPlayer, iItemIndex)
{
if(g_new_class_zombie == iItemIndex)
{
set_user_health(iPlayer, 2500)
set_user_maxspeed(iPlayer, 230.0)
client_print(iPlayer, print_chat, "[Zombie Deathmatch] This is a new zombie class!")
}
}[/sursa]
Salut!O sa va arat cat de simplu puteti crea clase de zombie pentru modul Zombie Deathmatch.
Includem <amxmodx> , <zombie_deathmatch> si celelalte module necesare:
- Cod:
#include <amxmodx>
#include <fun>
#include <zombie_deathmatch>
- Cod:
new g_new_class_zombie
- Cod:
public plugin_init()
{
g_new_class_zombie = zd_register_zombie_class("New Zombie Class")
}
- Cod:
public zd_zombie_class_selected(iPlayer, iItemIndex)
{
if(g_new_class_zombie == iItemIndex)
{
set_user_health(iPlayer, 2500)
set_user_maxspeed(iPlayer, 230.0)
client_print(iPlayer, print_chat, "[Zombie Deathmatch] This is a new zombie class!")
}
}
In final va arata asa:
[sursa=]#include <amxmodx>
#include <fun>
#include <zombie_deathmatch>
new g_new_class_zombie
public plugin_init()
{
g_new_class_zombie = zd_register_zombie_class("New Zombie Class")
}
public zd_zombie_class_selected(iPlayer, iItemIndex)
{
if(g_new_class_zombie == iItemIndex)
{
set_user_health(iPlayer, 2500)
set_user_maxspeed(iPlayer, 230.0)
client_print(iPlayer, print_chat, "[Zombie Deathmatch] This is a new zombie class!")
}
}[/sursa]
TeMciuC.- Membru
- Mesaje : 367
Data de inscriere : 11/10/2011
Varsta : 31
Localizare : Moldova / Vadul lui Voda
Puncte : 1055
Reputatie : -2
Subiecte similare
» [Zombie Deathmatch]Tutorial Inregistrare Extra-Iteme Zombie
» [Zombie Deathmatch]Tutorial Inregistrare Extra-Iteme Oameni
» Tutorial instalare zombie Swarm 2.4
» Tutorial Instalare Zombie Plague
» Tutorial adaugare model clase zombie
» [Zombie Deathmatch]Tutorial Inregistrare Extra-Iteme Oameni
» Tutorial instalare zombie Swarm 2.4
» Tutorial Instalare Zombie Plague
» Tutorial adaugare model clase zombie
Just4You :: COUNTER-STRIKE :: Tutoriale
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum