Raised This Month: $ Target: $400
 0% 

Need Help !!!!!!!!!!!!!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Anonymousstar
Junior Member
Join Date: Apr 2020
Old 04-13-2020 , 08:04   Need Help !!!!!!!!!!!!!
Reply With Quote #1

Code:

BlockBuyZones()
{
new players[32];
new pnum;
get_players(players, pnum, "ch");
pnum--;
while (0 < pnum)
{
RemoveFromBuyzone(players[pnum]);
}
gBlockBuyZone = true;
return 0;
}

RemoveFromBuyzone(id)
{
set_pdata_int(id, 235, get_pdata_int(id, 235, 5, 5) & -2, 5, 5);
return 0;
}
public MessageStatusIcon(msgID, dest, receiver)
{
if (gBlockBuyZone && get_msg_arg_int(1))
{
new buyzone[8] = {98,117,121,122,111,110,101,0};
new icon[9];
get_msg_arg_string(2, icon, ;
if (equal(icon, buyzone))
{
RemoveFromBuyzone(receiver);
set_msg_arg_int(1, 1, receiver);
}
}
return 0;
}


This Error Is Show:

Error:
Undefined symbol "set_pdata_int" on line 400
Warning: Symbol is never used: "id" on line 402
Anonymousstar is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-13-2020 , 08:10   Re: Need Help !!!!!!!!!!!!!
Reply With Quote #2

What kind of a title is that? Everyone here needs help, it's obvious. Use descriptive titles to distinguish your thread from everyone else's.

The solution to your problem is #include <fakemeta>
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 16:54.


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