SA-MP Forums Archive
Mask - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mask (/showthread.php?tid=553125)



Mask - GuardedMerchant - 28.12.2014

Hello SAMP Members,
I have a mask system, Though I want to make my server hardcore RP, and curious how to make all players masked. Would love if I could get a hand with this, Much appreciated.


Re: Mask - HY - 28.12.2014

Loop.

pawn Код:
CMD:maskforall(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        PlayerInfo[i][Mask] = 1; // Change with your mask variable.
    }
    return 1;
}



Re: Mask - GuardedMerchant - 28.12.2014

Quote:
Originally Posted by HY
Посмотреть сообщение
Loop.

pawn Код:
CMD:maskforall(playerid, params[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        PlayerInfo[i][Mask] = 1; // Change with your mask variable.
    }
    return 1;
}
Your a bloody champion, Thanks so much man!

REP +