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