switch(PlayerInfo[playerid][pAccent]) { case 0, 1: { if(AdminDuty[playerid] == 1) { format(string, sizeof(string), "%s says: (( %s )) ", sendername, text); } else { format(string, sizeof(string), "%s says: %s", sendername, text); } ProxDetector(20.0, playerid,string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000); }
new BigEar[MAX_PLAYERS];
switch(PlayerInfo[playerid][pAccent])
{
case 0, 1:
{
if(AdminDuty[playerid] == 1)
{
format(string, sizeof(string), "%s says: (( %s )) ", sendername, text);
}
else
{
format(string, sizeof(string), "%s says: %s", sendername, text);
}
ProxDetector(20.0, playerid,string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
SetPlayerChatBubble(playerid,text,COLOR_WHITE,20.0,5000);
foreach(Player, i) {
if(BigEars[i] == playerid)
{
format(string, sizeof(string), "BIGEARS: %s says: %s", sendername, text);
SendClientMessage(i, -1, string);
}
}
}
pawn Код:
|
C:\Users\Cris\Desktop\0.3z Server\ASRP \gamemodes\ASRP_V2.0.pwn(48334) : warning 217: loose indentation C:\Users\Cris\Desktop\0.3z Server\ASRP \gamemodes\ASRP_V2.0.pwn(48349) : error 017: undefined symbol "BigEars" C:\Users\Cris\Desktop\0.3z Server\ASRP \gamemodes\ASRP_V2.0.pwn(48349) : warning 215: expression has no effect C:\Users\Cris\Desktop\0.3z Server\ASRP \gamemodes\ASRP_V2.0.pwn(48349) : error 001: expected token: ";", but found "]" C:\Users\Cris\Desktop\0.3z Server\ASRP \gamemodes\ASRP_V2.0.pwn(48349) : error 029: invalid expression, assumed zero C:\Users\Cris\Desktop\0.3z Server\ASRP \gamemodes\ASRP_V2.0.pwn(48349) : fatal error 107: too many error messages on one line
Line 48334: switch(PlayerInfo[playerid][pAccent]) 48349: if(BigEars[i] == 1)
What is BigEar's set to? Is it set to a certain playerid? True/false?
|