Originally Posted by [K4L
Jake ]
OnPlayerUpdate is called once every second... a timer loop is better to conserve system resources. |
D:\SERVER\gamemodes\gf.pwn(113) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
C:\DOCUME~1\Silviu\Desktop\BULLET~1.5\GAMEMO~1\lsr p.pwn(4337) : error 004: function "OnPlayerPickUpStreamPickup" is not implemented C:\DOCUME~1\Silviu\Desktop\BULLET~1.5\GAMEMO~1\lsr p.pwn(36140) : error 055: start of function body without function header C:\DOCUME~1\Silviu\Desktop\BULLET~1.5\GAMEMO~1\lsr p.pwn(36141) : error 010: invalid function or declaration C:\DOCUME~1\Silviu\Desktop\BULLET~1.5\GAMEMO~1\lsr p.pwn(36143) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors. |
public Pickup_AnyPlayerToPoint(Float:radi, Float:x, Float:y, Float:z) { foreach (Player, i) { if(IsPlayerInRangeOfPoint(i, radi, x, y, z)) { return 1; } } return 0; }
C:\Users\Kalvi\Desktop\KFS Fun Server EST\pawno\include\erpPickupStreamer.inc(3) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
C:\Users\Kalvi\Desktop\KFS Fun Server EST\pawno\include\erpPickupStreamer.inc(3) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS") C:\Users\Kalvi\Desktop\KFS Fun Server EST\pawno\include\erpPickupStreamer.inc(29) : warning 219: local variable "range" shadows a variable at a preceding level C:\Users\Kalvi\Desktop\KFS Fun Server EST\pawno\include\erpPickupStreamer.inc(61) : warning 213: tag mismatch C:\Users\Kalvi\Desktop\KFS Fun Server EST\gamemodes\kfsr4v2.pwn(2145) : error 017: undefined symbol "OnPlayerPickUpStreamPickup" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
C:\Users\Kalvi\Desktop\KFS Fun Server EST\pawno\include\erpPickupStreamer.inc(3) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS") C:\Users\Kalvi\Desktop\KFS Fun Server EST\pawno\include\erpPickupStreamer.inc(30) : warning 219: local variable "range" shadows a variable at a preceding level C:\Users\Kalvi\Desktop\KFS Fun Server EST\pawno\include\erpPickupStreamer.inc(62) : warning 213: tag mismatch C:\Users\Kalvi\Desktop\KFS Fun Server EST\pawno\include\erpPickupStreamer.inc(90) : warning 217: loose indentation C:\Users\Kalvi\Desktop\KFS Fun Server EST\pawno\include\erpPickupStreamer.inc(105) : warning 217: loose indentation C:\Users\Kalvi\Desktop\KFS Fun Server EST\gamemodes\kfsr4v2.pwn(11971) : warning 235: public function lacks forward declaration (symbol "OnPlayerPickUpStreamPickup") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 6528 bytes Code size: 612560 bytes Data size: 1339016 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements: 1974488 bytes 6 Warnings.