15.07.2010, 21:11
Okay the following Excerpt is from lines 1313 to 1330 in my gm
the following excerpt is from lines 1263 to 1272.
the following is an except from 179 to 199
and the error code
Код:
KickPlayer(playerid, 0, "System","Repeated attempts to spawn without logging in."); return 1; } SendClientMessage(playerid,COLOR_RED,"[INFO:] You must login before you can spawn!"); SpawnAttempts[playerid] ++; return 0; } } public OnPlayerConnect(playerid) { TextDrawShowForPlayer(playerid,Variable_Name); //==================[Join Counter]========================= JoinCounter = JoinCounter + 1; dini_IntSet("CRP_Scriptfiles/Other/JoinCounter.cfg", "Connections", JoinCounter); //========================================================= dcmd_register(playerid,params,1[])
Код:
if (realtime) { new tmphour; new tmpminute; new tmpsecond; gettime(tmphour, tmpminute, tmpsecond); FixHour(tmphour); tmphour = shifthour; SetWorldTime(tmphour); }
Код:
forward FixHour(hour); forward SyncTime(); forward UpdateData(); forward SaveAccounts(); forward Update(); forward PayDay(); forward UpdateMoney(); forward ResetStats(playerid); forward SaveDynamicCars(); forward LoadDynamicCars(); forward LoadDynamicFactions(); forward SaveDynamicFactions(); forward LoadCivilianSpawn(); forward SaveCivilianSpawn(); forward LoadBuildings(); forward SaveBuildings(); forward split(const strsrc[], strdest[][], delimiter); forward ShowStats(playerid,targetid); forward BanPlayer(playerid,bannedby[MAX_PLAYER_NAME],reason[]); forward BanPlayerAccount(playerid,bannedby[MAX_PLAYER_NAME],reason[]); forward KickPlayer(playerid,kickedby[MAX_PLAYER_NAME],reason[]);
Код:
C:\Users\Robert\Desktop\SA-MP\pawno\include\Dini.inc(239) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Robert\Desktop\SKRP.pwn(179) : error 010: invalid function or declaration C:\Users\Robert\Desktop\SKRP.pwn(199) : error 010: invalid function or declaration C:\Users\Robert\Desktop\SKRP.pwn(1269) : warning 215: expression has no effect C:\Users\Robert\Desktop\SKRP.pwn(1313) : warning 215: expression has no effect C:\Users\Robert\Desktop\SKRP.pwn(1330) : error 029: invalid expression, assumed zero C:\Users\Robert\Desktop\SKRP.pwn(1330) : error 029: invalid expression, assumed zero C:\Users\Robert\Desktop\SKRP.pwn(1330) : error 029: invalid expression, assumed zero C:\Users\Robert\Desktop\SKRP.pwn(1330) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.