12.01.2014, 07:45
Код:
C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2294) : error 029: invalid expression, assumed zero C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2294) : error 004: function "Streamer_OnPlayerDisconnect" is not implemented C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2312) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2319) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2326) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2365) : warning 225: unreachable code C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2365) : error 029: invalid expression, assumed zero C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2365) : error 004: function "S@@_OnPlayerRequestSpawn" is not implemented C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2376) : warning 225: unreachable code C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2376) : error 029: invalid expression, assumed zero C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2376) : error 004: function "S@@_OnPlayerSpawn" is not implemented C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2378) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2454) : warning 225: unreachable code C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2454) : error 029: invalid expression, assumed zero C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2454) : error 004: function "S@@_OnPlayerDeath" is not implemented C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2459) : warning 225: unreachable code C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2459) : error 029: invalid expression, assumed zero C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2459) : error 004: function "S@@_OnPlayerText" is not implemented C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2463) : error 017: undefined symbol "text" C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2464) : error 017: undefined symbol "text" C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2464) : warning 215: expression has no effect C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2464) : error 001: expected token: ";", but found "]" C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2464) : error 029: invalid expression, assumed zero C:\Users\Edin\Desktop\New Century Roleplay BETA\gamemodes\NCRP.pwn(2464) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 15 Errors.
This is code that I got in this program
Код:
MISSING BRACKET: The { bracket on line 2359 does not have a pair! MISSING BRACKET: The { bracket on line 2362 does not have a pair! Result: Opening angle brackets ({): 346 Closing angle brackets (}): 344 2 angle brackets without pair! Fix it!
Код:
2359-public OnPlayerRequestSpawn(playerid) { if(PlayerInfo[playerid][pLogiran] == 0) { SCM(playerid,TCrvena,"| BegoAS | Server zahtjeva logiranje prije spawnanja! (Kickani ste!)"); SetTimerEx("KickIgraca", 300, 0, "d", playerid); } SpawnPlayer(playerid); } return 1; } public OnPlayerRequestSpawn(playerid) { if(PlayerInfo[playerid][pLogiran] == 0) 2362- { SCM(playerid,TCrvena,"| BegoAS | Server zahtjeva logiranje prije spawnanja! (Kickani ste!)"); SetTimerEx("KickIgraca", 300, 0, "d", playerid); } SpawnPlayer(playerid); } return 1; } stock SCMF(playerid,color,fstring[],{Float, _}:...) { new n=(numargs()-3)*4; if(n) { new message[128],arg_start,arg_end; #emit CONST.alt fstring #emit LCTRL 5 #emit ADD #emit STOR.S.pri arg_start #emit LOAD.S.alt n #emit ADD #emit STOR.S.pri arg_end do 344 -{ 346 -#emit LOAD.I #emit PUSH.pri arg_end-=4; #emit LOAD.S.pri arg_end } while(arg_end>arg_start); #emit PUSH.S fstring #emit PUSH.C 255 #emit PUSH.ADR message n+=4*3; #emit PUSH.S n #emit SYSREQ.C format n+=4; #emit LCTRL 4 #emit LOAD.S.alt n #emit ADD #emit SCTRL 4 return SendClientMessage(playerid,color,message); } else return SendClientMessage(playerid,color,fstring); }