Salut imi da aceasta eroare cand il compilez:
C:\Users\Darius\Desktop\Gamemode\Gamemode\gamemodes\BigZoneGM.pwn(44652) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
______________________________________________________________________________
if(dialogid == /)
{
new emailtext[64];
mysql_real_escape_string(inputtext, emailtext);
strmid(PlayerInfo[playerid][pEmail], emailtext, 0, strlen(emailtext), 64);
if(IsMail(inputtext) && response && strlen(inputtext)<30)
{
if(PlayerInfo[playerid][pLanguage] == 2)
{
format(string, sizeof(string), "Email setat: %s.", PlayerInfo[playerid][pEmail]);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
else
{
format(string, sizeof(string), "Email set to: %s.", PlayerInfo[playerid][pEmail]);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
}
else
{
if(PlayerInfo[playerid][pLanguage] == 2)
{
SendClientMessage(playerid, COLOR_YELLOW, "Ai ales sa nu introduci emailul. Daca vrei sa-ti setezi un email pe cont in viitor, intra pe panel.Nume-Server.ro.");
}
else
{
SendClientMessage(playerid, COLOR_YELLOW, "You choosed not to set an email. You can go to panel.Nume-Server.ro to set an email at a later date, if you want to.");
}
}
RegistrationStep[playerid] = 0;
TutTime[playerid] = 1;
TogglePlayerSpectating(playerid, 1);
new connectplayer[60],stringplayer[100];
GetPlayerName(playerid,connectplayer,sizeof(connectplayer));
format(stringplayer,sizeof(stringplayer),"New account: %s (%d).",connectplayer,playerid);
HLChat(COLOR_RED2,stringplayer);
ABroadCast(COLOR_RED2,stringplayer,1);
foreach(Player,iss)
{
if(PlayerInfo[iss][pHelper] > 0 || PlayerInfo[iss][pAdmin] > 0)
{
KillTimer(deathdeletetime[iss]);
SendDeathMessageToPlayer(iss, INVALID_PLAYER_ID, playerid, 200);
deathdeletetime[iss] = SetTimerEx("DeleteDeathMessage",30000,0,"d",iss);
}
}
return 1;
}