08.08.2016, 18:05
Hello SA-MP Community,
Well I was checking a script and I wanted to test it, this is the script's thread: http://forum.sa-mp.com/showthread.ph...thmatch+Racing
At first I ran the server and got this error:
While the .amx is already there and in the gamemode0 line in the server.cfg is as the following:
So I opened the script and started downloading all it's includes and stuff, but in the end at the compile I got these errors(after all includes are download):
Here's the script code:
Hope you can help me with fixing this erorr, the one who helps will get +REP!
Well I was checking a script and I wanted to test it, this is the script's thread: http://forum.sa-mp.com/showthread.ph...thmatch+Racing
At first I ran the server and got this error:
Код:
SA-MP Dedicated Server ---------------------- v0.3.7, ©2005-2015 SA-MP Team [20:58:14] [20:58:14] Server Plugins [20:58:14] -------------- [20:58:14] Loading plugin: sscanf [20:58:14] [20:58:14] =============================== [20:58:14] sscanf plugin loaded. [20:58:14] Version: 2.8.1 [20:58:14] © 2012 Alex "******" Cole [20:58:14] =============================== [20:58:14] Loaded. [20:58:14] Loading plugin: xml [20:58:14] Loaded. [20:58:14] Loaded 2 plugins. [20:58:14] [20:58:14] Filterscripts [20:58:14] --------------- [20:58:14] Loaded 0 filterscripts. [20:58:14] Script[gamemodes/dmrace.amx]: Run time error 19: "File or function is not found" [20:58:14] Number of vehicle models: 0
Код:
gamemode0 dmrace 1
Код:
C:\Users\PC-9\Desktop\Fun-Generation [DD.DM] Server\pawno\include\MTA_LOAD.inc(226) : warning 219: local variable "mapValues" shadows a variable at a preceding level C:\Users\PC-9\Desktop\Fun-Generation [DD.DM] Server\gamemodes\dmrace2.pwn(936) : error 017: undefined symbol "MAX_STRING" C:\Users\PC-9\Desktop\Fun-Generation [DD.DM] Server\gamemodes\dmrace2.pwn(936) : error 009: invalid array size (negative, zero or out of bounds) C:\Users\PC-9\Desktop\Fun-Generation [DD.DM] Server\gamemodes\dmrace2.pwn(936) : error 036: empty statement C:\Users\PC-9\Desktop\Fun-Generation [DD.DM] Server\gamemodes\dmrace2.pwn(936) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
stock trcar(car[]) { new tmp[MAX_STRING]; set(tmp,car); tmp=strreplace("[","(",tmp); tmp=strreplace("]",")",tmp); return tmp;