HELP bug Mask -
faiznurfaza - 09.02.2013
Help please i will give you rep+ if you can fix this
Login > Buy > Mask (Work) > Log Out > Login Again > /mask > the mask is gone
And if player enter or exit interior the player name tag will show again
this for command
CMD:mask(playerid, params[])
{
new name[MAX_PLAYER_NAME];
new string[42];
if(HasBoughtMask[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, "You don't have a mask. ( You can buy one at 24/7's )");
return 1;
}
if(PlayerInfo[playerid][pMask] == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(i, playerid, 0);
}
}
PlayerInfo[playerid][pMask] = 1;
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "* %s has put a mask on.", name);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
}
else if(PlayerInfo[playerid][pMask] == 1 || PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] ==

{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
ShowPlayerNameTagForPlayer(i, playerid, 1);
}
}
PlayerInfo[playerid][pMask] = 0;
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "* %s has put their mask away.", name);
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
}
return 1;
}
Re: HELP bug Mask -
RajatPawar - 09.02.2013
How the hell is it supposed to appear on your head if you don't save it! You need to save it using INI or MySQL, or you can use an attachment saving filterscript, I just saw one before replying.
Re: HELP bug Mask -
faiznurfaza - 09.02.2013
Iam using this
#include <a_samp>
#include <streamer>
#include <a_zones>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <progress>
#include <YSI\y_timers>
#include <ZCMD>
#include <sscanf2>
#include <audio>
#include <dini>
help please
Re: HELP bug Mask - T0pAz - 09.02.2013
Help yourself first before we can help you. There are loads of resources out there just ******'em.
Re: HELP bug Mask -
faiznurfaza - 09.02.2013
please i need it help me
Re: HELP bug Mask -
RajatPawar - 09.02.2013
http://lmgtfy.com/?q=attachments+sav...p+filterscript