[ New Updates · Members · Rules · Search · RSS ]
Page 1 of 11
Forum » DevCen (Developer Center) » AMX Mod X » Code & Snippets » Victoria Native
Victoria Native
DavidJrDate: Sunday, 23 Nov 2014, 8:19 PM | Message # 1
CEO
Group: Executive Team
Messages: 471
Awards: 0
Reputation: 224
Status: Offline
D E S C R I P T I O N
Victoria Native 1.0.0.0 build 1004 Copyright © 2014 Development Core, Inc. Unless others noted.

V E R S I O N
1.1.0.0 build 1007

S T A T U S
Released

A U T H O R
David "Jr" Vincent B

C O P Y R I G H T
Development Core, Inc.

F E A T U R E S
Get player name from config
Get weapon name from config
Get weapon model from config

S U P P O R T E D  P L U G I N S
-. CSO NST 1011
-. ABS (Architecture Based System) Ported to CSPB 1.0.8 build 1010
-. VTR (Victoria) 2.1.0.0 build 1020

C H A N G E L O G
1.0.0.0 build 1004
-. Support weapon plugins (CSO NST 1011, ABS, Victoria)
1.1.0.0 build 1007
-. Added native forward

D O W N L O A D  L I N K
1.1.0.0 build 1007
DropBox

F I L E  E X A M P L E S
VTR_Player (Native)
Code
#include <amxmodx>
#include <amxmisc>
#include <victoria_native>

#define PLUGIN "VTR Player"
#define VERSION "1.0"
#define AUTHOR "DavidJr"

public plugin_init()
{
           register_plugin(PLUGIN, VERSION, AUTHOR);
                  
           register_event("HLTV", "Event_HLTV", "a");
}

public Event_HLTV()
{
           new iPlayers[32], iPlayer, iNum;
           get_players(iPlayers, iNum);
                  
           for (new i = 0;i < iNum; ++i)
           {
               iPlayer = iPlayers[i];
                      
               new szPlayer[32];
               VTR_Get_PlayerName(iPlayer, szPlayer, sizeof (szPlayer) - 1);
                      
               client_print(iPlayer, print_chat, "[%s] You choose %s", PLUGIN, szPlayer);
           }
}


VTR Weapon (Native)
Code
/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <victoria_native>

#define PLUGIN "VTR Weapon"
#define VERSION "1.0"
#define AUTHOR "DavidJr"

public plugin_init()
{
           register_plugin(PLUGIN, VERSION, AUTHOR);
                  
           register_event("CurWeapon", "Event_CurWeapon", "b");
}

public Event_CurWeapon(iIndex)
{
           new szWpn[32];
           VTR_Get_WeaponName(iIndex, szWpn, sizeof (szWpn) - 1);
                  
           new szModel[32];
           VTR_Get_WeaponModel(iIndex, szModel, sizeof (szModel) - 1);
                  
           set_hudmessage(0, 255, 0, 0.55, 0.9, 0, 6.0, 12.0);
           show_hudmessage(iIndex, "[%s] Weapon name %s | weapon model %s", PLUGIN, szWpn, szModel);
                  
}

VTR_DamageEvent(iIndex, iAttacker) (forward)
Code
public VTR_DamageEvent(iIndex, iAttacker)
{
        client_print(iIndex, print_chat, "[Victoria Native] index %d attacker %d", iIndex, iAttacker);
}


VTR_DeathEvent(iKiller, iVictim, iHeadshot, szWpn[]) (forward)
Code
public VTR_DeathEvent(iKiller, iVictim, iHeadshot, szWpn[])
{
        client_print(iKiller, print_chat, "[Victoria Native] killer %d victim %d headshot %d weapon %s", iKiller, iVictim, iHeadshot, szWpn);
}


VTR_HealthEvent(iIndex, iHealth) (forward)
Code
public VTR_HealthEvent(iIndex, iHealth)
{
        client_print(iIndex, print_chat, "[Victoria Native] health %d", iHealth);
}


VTR_WeaponEvent(iIndex, iWpn, iClip, iAmmo) (forward)
Code
public VTR_WeaponEvent(iIndex, iWpn, iClip, iAmmo)
{
        client_print(iIndex, print_chat, "[Victoria Native] index %d wpn %d clip %d ammo %s", iIndex, iWpn, iClip, iAmmo);
}


H O W  T O  I N S T A L L
Attachments: 3537846.jpg(47Kb)


Auto Aim Bot Detector: http://youtu.be/NiKY0rG7cNg
 
Nouris_Hamada_103Date: Sunday, 23 Nov 2014, 8:51 PM | Message # 2
Junior Member
Group: Developer
Messages: 51
Awards: 0
Reputation: 0
Status: Offline
izin test bang kiki

CJDWTEAM.BLOGSPOT.COM
 
dandreanto1Date: Monday, 24 Nov 2014, 6:43 AM | Message # 3
New Member
Group: Member
Messages: 46
Awards: 0
Reputation: 0
Status: Offline
Gak ngerti bang
ane awam yg bgtuan


Visit My Blog :
swordan-andre.mywapblog.com
swordan-andre.blogspot.com
 
1ST_TegarhilmiDate: Monday, 24 Nov 2014, 1:49 PM | Message # 4
Winner of Christmas Event 2014
Group: Super Moderator
Messages: 276
Awards: 1
Reputation: 114
Status: Offline
Victoria Navite ? module baru kah ?

My Profile CSO Indonesia
 
DavidJrDate: Monday, 24 Nov 2014, 6:37 PM | Message # 5
CEO
Group: Executive Team
Messages: 471
Awards: 0
Reputation: 224
Status: Offline
Quote dandreanto1 ()
Gak ngerti bangane awam yg bgtuan
AMX Mod X

Quote 1ST_Tegarhilmi ()
Victoria Navite ? module baru kah ?
Plugin Native untuk AMX Developer


Auto Aim Bot Detector: http://youtu.be/NiKY0rG7cNg
 
joe_chrisnaDate: Monday, 24 Nov 2014, 8:16 PM | Message # 6
New Member
Group: Member
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
Boleh Saya icip icip master curlylips
 
BujangDate: Wednesday, 24 Dec 2014, 1:06 AM | Message # 7
Active Member
Group: Member
Messages: 273
Awards: 0
Reputation: 11
Status: Offline
ane baru mau pasang plugin ini gan, tapi masukin senjatanya masih ragu2

life is a choice...
Facebook
Blog
 
DavidJrDate: Wednesday, 24 Dec 2014, 6:37 AM | Message # 8
CEO
Group: Executive Team
Messages: 471
Awards: 0
Reputation: 224
Status: Offline
Ragu" gmn? :)

Auto Aim Bot Detector: http://youtu.be/NiKY0rG7cNg
 
Forum » DevCen (Developer Center) » AMX Mod X » Code & Snippets » Victoria Native
Page 1 of 11
Search:

Create a free website with uCoz