16.10.2013, 17:26
Hello everyone!
I'm having problems with pawno, see:
Line 455:
Line 34:
Line 48:
help me please!
I'm having problems with pawno, see:
Код:
C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1563) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1568) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1578) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1581) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1606) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1614) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1617) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1628) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1631) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1638) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1641) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1644) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1647) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1650) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\DOF2.inc(1658) : warning 217: loose indentation C:\Users\Nothing\Desktop\SERVER\pawno\include\streamer.inc(455) : error 079: inconsistent return types (array & non-array) C:\Users\Nothing\Desktop\SERVER\gamemodes\RPG.pwn(24) : warning 225: unreachable code C:\Users\Nothing\Desktop\SERVER\gamemodes\RPG.pwn(24) : error 017: undefined symbol "main" C:\Users\Nothing\Desktop\SERVER\gamemodes\RPG.pwn(38) : error 029: invalid expression, assumed zero C:\Users\Nothing\Desktop\SERVER\gamemodes\RPG.pwn(38) : error 017: undefined symbol "SendHelperMessage" C:\Users\Nothing\Desktop\SERVER\gamemodes\RPG.pwn(38) : error 029: invalid expression, assumed zero C:\Users\Nothing\Desktop\SERVER\gamemodes\RPG.pwn(38) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors.
Код:
stock F_PlayerObjectUpdate(playerid, Float:x, Float:y, Float:z) { if(IsPlayerConnected(playerid) && !IsPlayerNPC(playerid)) { OldX[playerid] = x; OldY[playerid] = y; OldZ[playerid] = z; new nr; new Float:ObjDistance[F_MAX_OBJECTS]; new ObjectArr[F_MAX_OBJECTS]; for(new objectid; objectid<F_MAX_OBJECTS; objectid++) { if(F_IsValidObject(objectid)) { ObjDistance[objectid] = floatsqroot(floatpower(floatsub(ObjectInfo[objectid][ox],x),2)+floatpower(floatsub(ObjectInfo[objectid][oy],y),2)+floatpower(floatsub(ObjectInfo[objectid][oz],z),2)); if(floatcmp(ObjDistance[objectid], StreamRange) == -1) { ObjectArr[nr] = objectid; nr++; } } }
Код:
main() { print(". . . . . . . . . . . . . . . . . . . ."); print("Gamemode ."); print("Versгo: Samp Client 0.3x"); print("Fundador: ."); print("Sub Fundador: ."); print("Puxa no mбximo 5% de CPU."); print(". . . . . . . . . . . . . . . . . . . ."); }
Код:
forward SendHelperMessage(COLOR, string[]); forward HelperCheck(playerid); forward HelpersVaga(); forward LoadHelper(); forward SaveHelper(); forward HelperBroadCast(COLOR,const string[],level); forward IsAtGasStation(playerid); forward LoadOrgEspecial();