Invalid expression
#1

Anyone see where the problem is, need a second set of eyes on this

pawn Код:
if(playerData[playerid][pAccent] == 1 && playerData[playerid][pChat] == 1){
            format(szMessage, sizeof szMessage, "%s says: %s", getPlayerName(playerid), text);
            ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,0,0,1,1);
        else
            format(szMessage, sizeof szMessage, "(%s accent) %s says: %s", GetPlayerAccent(playerid), getPlayerName(playerid), text);

        ProxDetector(20.0, playerid,szMessage, COLOR_FADE1, COLOR_FADE2, COLOR_FADE3, COLOR_FADE4, COLOR_FADE5, 1);
        }
Reply
#2

your problem is at else
try this
pawn Код:
}
  else
{
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)