[FilterScript] Request: Mask Filterscript - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Request: Mask Filterscript (
/showthread.php?tid=383028)
REMOVED -
DwayneVanKom - 06.10.2012
REMOVED
Re: Request: Mask Filterscript -
Donicans - 06.10.2012
I'll do this for you tomorrow got to sleep right now.
Re: Request: Mask Filterscript -
Knight_Rider - 06.10.2012
Define:-
Код:
new HasBoughtMask[MAX_PLAYERS];
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.");
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_PURPLE,COLOR_PURPLE);
}
return 1;
}
Код:
enum pInfo
{
pMask,
};
Re: Request: Mask Filterscript -
DwayneVanKom - 06.10.2012
Can you gimme the tutorial ?
Just put that Longest words to the Gamemode ?
Re: Request: Mask Filterscript -
Knight_Rider - 06.10.2012
Quote:
Originally Posted by DwayneVanKom
Can you gimme the tutorial ?
Just put that Longest words to the Gamemode ?
|
Team Viewer?
Re: Request: Mask Filterscript -
DwayneVanKom - 06.10.2012
Wanna use team speak ?
Re: Request: Mask Filterscript -
xMCx - 06.10.2012
its acctually the wrong section ?
Re: Request: Mask Filterscript -
NoahF - 06.10.2012
Wrong section.