Raised This Month: $51 Target: $400
 12% 

Compile error(2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ZdubZ0r
Senior Member
Join Date: Feb 2011
Location: Romania
Old 08-28-2013 , 15:26   Compile error(2)
Reply With Quote #1

I tried to compile this weapon but i still can`t do it.. i just added this lines to this weapon
Quote:
public plugin_natives()
{
register_native("give_weapon_ethereal", "native_give_weapon_add", 1)
register_native("give_you_weapon", "native_give_you_weapon", 1)
}

public native_give_you_weapon(id)
{
g_HasHw[id] = true;
}
And i don`t know how to fix it to make it work into the choose weapons menu
Here`s the .sma
Attached Files
File Type: sma Get Plugin or Get Source (wpn_ethereal.sma - 657 views - 26.1 KB)
ZdubZ0r is offline
Send a message via Yahoo to ZdubZ0r Send a message via Skype™ to ZdubZ0r
bat
Veteran Member
Join Date: Jul 2012
Old 08-28-2013 , 16:05   Re: Compile error(2)
Reply With Quote #2

Quote:
Originally Posted by ZdubZ0r View Post
I tried to compile this weapon but i still can`t do it.. i just added this lines to this weapon

And i don`t know how to fix it to make it work into the choose weapons menu
Here`s the .sma
Delete
Code:
register_native("give_weapon_ethereal", "native_give_weapon_add", 1)
bat is offline
Send a message via Skype™ to bat
ZdubZ0r
Senior Member
Join Date: Feb 2011
Location: Romania
Old 08-28-2013 , 16:25   Re: Compile error(2)
Reply With Quote #3

still not workin`
ZdubZ0r is offline
Send a message via Yahoo to ZdubZ0r Send a message via Skype™ to ZdubZ0r
Cigojlo
Senior Member
Join Date: May 2013
Location: Serbia / Belgrade
Old 08-28-2013 , 16:58   Re: Compile error(2)
Reply With Quote #4

there is a bug in some servers, listen if u want to this plugin work, just uncommecnt this and remove all waht u add pls and workign 1000000000%
//g_itemid_ethereal = zp_register_extra_item("\rEthereal", 15, ZP_TEAM_HUMAN)
to this
g_itemid_ethereal = zp_register_extra_item("\rEthereal", 15, ZP_TEAM_HUMAN)
__________________
Quote:
Originally Posted by ghinghis View Post
the fuking TOP.SMA cannot be compiled moron !!!!!
Cigojlo is offline
bat
Veteran Member
Join Date: Jul 2012
Old 08-31-2013 , 04:46   Re: Compile error(2)
Reply With Quote #5

Quote:
Originally Posted by Cigojlo View Post
there is a bug in some servers, listen if u want to this plugin work, just uncommecnt this and remove all waht u add pls and workign 1000000000%
//g_itemid_ethereal = zp_register_extra_item("\rEthereal", 15, ZP_TEAM_HUMAN)
to this
g_itemid_ethereal = zp_register_extra_item("\rEthereal", 15, ZP_TEAM_HUMAN)
Him want show to Primary weapon list, if
Code:
//g_itemid_ethereal
the extra item not show to buy list
__________________
bat is offline
Send a message via Skype™ to bat
Reply



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 04:19.


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