Raised This Month: $ Target: $400
 0% 

nVault


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
BeasTeHbIw
Junior Member
Join Date: Oct 2013
Old 05-18-2014 , 21:48   nVault
Reply With Quote #1

Good afternoon.
Help fix the error and tell me whether written a plugin?

//// vote.sma
// D:\unstal\cs\Compiler 1.8.1\vote.sma(35) : error 088: number of argum
ents does not match definition
//
// 1 Error.
// Could not locate output file compiled\vote.amx (compile failed).
//
// Compilation Time: 0,09 sec
// ----------------------------------------

Code:
#include <amxmodx> #include <nvault> #include <cstrike> #include <fun> new g_Hskill[33] new g_Vault   public plugin_init() {         register_event("DeathMsg", "hook_death", "a")         }     public plugin_cfg() {     g_Vault = nvault_open("hsvault")     if (g_Vault == INVALID_HANDLE)         set_fail_state("Error opening nVault!") } public plugin_end() {     nvault_close(g_Vault) } public hook_death() {         new nKiller = read_data(1)         new victim = read_data(2);         if ( (read_data(3) == 1) && (read_data(5) == 0) )         {     g_Hskill[nKiller]++     nvault_set(g_Vault, (g_Hskill[nKiller]))         } }   public chek_hs(id) {     nvault_get(g_Vault,g_Hskill[id])         set_hudmessage(0, 255, 0, -1.0, 0.86, 0, 6.0, 2.0)         show_hudmessage(id, "У вас %s хедшетов", g_Hskill[id]) }
BeasTeHbIw is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode