[Pomoc]Errori

Započeo FireMan, Jul 15, 2011, 15:56:27 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Mod:MojMod od 0
Problem:Podesavao sam spremanje podataka(dodao jos stvari da se spremaju) i kad probam compilat dobijem sljedece errore
C:\Users\Sa-Mp\Desktop\BNRP\gamemodes\MojMod.pwn(225) : error 075: input line too long (after substitutions)
C:\Users\Sa-Mp\Desktop\BNRP\gamemodes\MojMod.pwn(226) : error 075: input line too long (after substitutions)
C:\Users\Sa-Mp\Desktop\BNRP\gamemodes\MojMod.pwn(228) : warning 217: loose indentation
C:\Users\Sa-Mp\Desktop\BNRP\gamemodes\MojMod.pwn(228) : error 017: undefined symbol "e"
C:\Users\Sa-Mp\Desktop\BNRP\gamemodes\MojMod.pwn(228) : error 017: undefined symbol "info"
C:\Users\Sa-Mp\Desktop\BNRP\gamemodes\MojMod.pwn(229) : warning 217: loose indentation
C:\Users\Sa-Mp\Desktop\BNRP\gamemodes\MojMod.pwn(232) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.


Dio Skripte:public OnPlayerDisconnect(playerid, reason)
{
new query[1024]; //Variables
new Pname[24]; //Variables
GetPlayerName(playerid, Pname, 24); //Gets the player name
new escpname[24];
mysql_real_escape_string(Pname, escpname); //linija 225
format(query, sizeof(query), "UPDATE `playerinfo` SET `score` = '%d',`money` = '%d', `kills` = '%d', `deaths` = '%d', `adminlevel` = '%d', `gmlevel` = '%d', `skin` = '%d', `ban` = '%d', `donator` = '%d', `donatorpoints` = '%d', `upozorenja` = '%d', `spol` = '%d', `godine` = '%d', `drzava` = '%d', `kaciga` = '%d', `vozacka` = '%d', `lider` = '%d', `clan` = '%d', `posao` = '%d'  WHERE `user` = '%s'", PlayerInfo[playerid][pLevel], GetPlayerMoney(playerid), PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pGameMaster], PlayerInfo[playerid][pSkin], PlayerInfo[playerid][pBanned], PlayerInfo[playerid][pDonator], PlayerInfo[playerid][pDonatorPoints], PlayerInfo[playerid][pUpozorenja], PlayerInfo[playerid][pSpol], PlayerInfo[playerid][pGodine], PlayerInfo[playerid][pDrzava], PlayerInfo[playerid][pKaciga], PlayerInfo[playerid][pVozacka], PlayerInfo[playerid][pLider], PlayerInfo[playerid][pClan], PlayerInfo[playerid][pPosao],  escpname); // Linija 226
mysql_query(query);
mysql_free_result(); //linija 228
}//linija 229
return 1;
}
//linija 232 je razmak ispod return 1;
Poslednja Izmena: Jul 15, 2011, 15:57:36 POSLE PODNE od FireMan

Predugacka ti je linija 226,


imas tut, tu je za dialoge ali sve je isto
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √