10.03.2012, 13:07
Here My Script
Errors
pawn Код:
new masked[MAX_PLAYERS];
pawn Код:
CMD:mask(playerid, params[])
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pAdmin] < 2 || (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)
{
SendClientMessage(playerid, COLOR_GREY, " You are not authorized to use that command!");
}
if(masked[playerid] == 0)
{
masked[playerid] = 1;
SendClientMessage(playerid, -1,"You are now masked.");
}
else
{
masked[playerid] = 0;
SendClientMessage(playerid, -1,"You are no longer masked.");
}
return 1;
}
pawn Код:
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(30733) : error 029: invalid expression, assumed zero
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(30736) : error 010: invalid function or declaration
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(30741) : error 010: invalid function or declaration
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(30746) : error 010: invalid function or declaration
F:\My favorite sa-mp script\gamemodes\EXRP..pwn(85807) : warning 203: symbol is never used: "masked"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.