PDA

View Full Version : What the heck?


stormchaser206
16/05/2012, 11:28 PM
Errors:
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 243) : error 017: undefined symbol "SendMessageToAdmins"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 247) : warning 217: loose indentation
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 263) : warning 202: number of arguments does not match definition
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 263) : error 033: array must be indexed (variable "dcmd_stats")
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 291) : error 017: undefined symbol "strtok"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 291) : error 033: array must be indexed (variable "tmp")
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 292) : error 017: undefined symbol "strtok"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 292) : error 033: array must be indexed (variable "tmp2")
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 293) : error 017: undefined symbol "strtok"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 293) : error 033: array must be indexed (variable "tmp3")
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 300) : error 017: undefined symbol "IsNumeric"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 301) : error 017: undefined symbol "GetVehicleModelIDFromName"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 290) : warning 203: symbol is never used: "Index"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 326) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 384) : warning 219: local variable "pname" shadows a variable at a preceding level
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 423) : warning 217: loose indentation
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 466) : warning 217: loose indentation
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 492) : error 017: undefined symbol "strtok"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 492) : error 033: array must be indexed (variable "tmp")
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 493) : error 017: undefined symbol "strtok"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 493) : error 033: array must be indexed (variable "tmp2")
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 524) : error 035: argument type mismatch (argument 1)
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 491) : warning 203: symbol is never used: "Index"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 541) : error 029: invalid expression, assumed zero
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 541) : error 017: undefined symbol "pName"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 541) : warning 215: expression has no effect
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 541) : error 001: expected token: ";", but found "]"
C:\Users\Keegan\Desktop\filterscripts\WWAdmin.pwn( 541) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


19 Errors.


Pastebin for my code:
http://pastebin.com/9xTcMXZu

Jonny5
16/05/2012, 11:48 PM
your missing code around line 556
take a look and see!

try adding


;
}


edit: actually your missing the end of the format statement and the closing of the function