mosboris
Дебютант
PHP:
CMD:mask(playerid)
{
if(mask{playerid} <= 0) return SCM(playerid, -1, "• {AC0000}[Ошибка] {ffffff}У вас нет маски, купите ее в 24/7");
SetPlayerColor(playerid, 0x7a766700);
new stringex[100];
format(stringex,sizeof(stringex),"~b~Invisible on");
GameTextForPlayer(playerid, stringex, 5000, 3);
ApplyAnimation(playerid, "shop","ROB_Shifty",4.0,0,0,0,0,0,1);
format(stringex,sizeof(stringex), "надел(а) маску");
SetPlayerChatBubble(playerid,stringex,0xDD90FFFF,30.0,10000);
format(stringex, sizeof(stringex), "%s надел(а) маску", PlayerInfo[playerid][pNames]);
AttachObjectToPlayer(19036, playerid, -0.01520, -0.04810, 0.78280, 0.00000, 0.00000, 260.00000);
SetPlayerChatBubble(playerid,stringex,0xDD90FFFF,20.0,10000);
SetPVarInt(playerid, "mask_true", true);
mask{playerid}--;
return true;
}
