- 0
Eroare la compilare.
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Sphinx_M123
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;
}
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now