SA-MP Forums Archive
Need help fixing errors while compiling - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help fixing errors while compiling (/showthread.php?tid=285326)



Need help fixing errors while compiling - _DB_D3M0 - 23.09.2011

Hey, im using Ravens Roleplay 0.3c and Everytime I change the name in Pawno for when you go ingame it will come up with these errors im an amateur scripter and wanna fix them for my server and it also might help me learn to fix them in future

C:\Documents and Settings\Administrator\Desktop\NGRP\PAWNOEXE\inclu de\streamer.inc(23 : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\Desktop\NGRP\PAWNOEXE\inclu de\streamer.inc(23 : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\Desktop\NGRP\PAWNOEXE\inclu de\streamer.inc(23 : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\Desktop\NGRP\PAWNOEXE\inclu de\streamer.inc(250) : warning 219: local variable "rx" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\Desktop\NGRP\PAWNOEXE\inclu de\streamer.inc(250) : warning 219: local variable "ry" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\Desktop\NGRP\PAWNOEXE\inclu de\streamer.inc(250) : warning 219: local variable "rz" shadows a variable at a preceding level
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(5672) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(5674) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(5675) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(5679) : error 017: undefined symbol "SetPlayerAttachedObject"
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(5693) : error 017: undefined symbol "IsPlayerAttachedObjectSlotUsed"
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(5694) : error 017: undefined symbol "RemovePlayerAttachedObject"
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(26246) : error 021: symbol already defined: "strtok"
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(26261) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(27772) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(27832) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(27885) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(28561) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(28620) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29297) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29325) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29336) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29396) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29657) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29684) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29714) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29722) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29756) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29764) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29797) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29842) : error 047: array sizes do not match, or destination array is too small
C:\Documents and Settings\Administrator\Desktop\SA-MP Server TEST\gamemodes\larp.pwn(29905) : error 047: array sizes do not match, or destination array is too small

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.


If you could help me fix these problems then id be grateful, just add my msn CaptainRoss@hotmail.co.uk


Re: Need help fixing errors while compiling - jotan. - 23.09.2011

give me ur script,I will fix


Re: Need help fixing errors while compiling - Fat - 23.09.2011

You forgot a closing bracket.
Don't give no-one the script.
Using a missing brackets finder.


Re: Need help fixing errors while compiling - jotan. - 23.09.2011

Fat,he also forget to add pos in rX is the pos,rY is the position,rZ is the position,he just typed undefined symbol,also where rX there should be pos..