Fourteen errors after I tried to take commands.
#1

Hey, I get fourteen errors when I try to take roleplay commands. I've copied the defines, includes, forwards, etc, but it still doesnt work.

Quote:

C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(290) : error 033: array must be indexed (variable "cmd")
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(29 : error 033: array must be indexed (variable "tmp")
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(304) : error 017: undefined symbol "ReturnUser"
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(329) : error 004: function "OnPlayerPrivmsg" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(372) : error 004: function "ProxDetector" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(377) : error 004: function "ProxDetector" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(406) : error 004: function "PlayerActionMessage" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(409) : warning 225: unreachable code
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(409) : warning 217: loose indentation
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(432) : error 004: function "ProxDetector" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(436) : warning 217: loose indentation
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(459) : error 004: function "ProxDetector" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(467) : error 033: array must be indexed (variable "tmp")
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(473) : error 017: undefined symbol "ReturnUser"
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(496) : error 004: function "ProxDetectorS" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(503) : error 004: function "PlayerActionMessage" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(52 : error 030: compound statement not closed at the end of file (started at line 287)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


14 Errors.

Reply
#2

I got rid of two errors by deleting the 'strotk' in each, lol, though I dont think that's the best thing to do...

Quote:

C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(292) : error 017: undefined symbol "ReturnUser"
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(317) : error 004: function "OnPlayerPrivmsg" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(360) : error 004: function "ProxDetector" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(365) : error 004: function "ProxDetector" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(394) : error 004: function "PlayerActionMessage" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(397) : warning 225: unreachable code
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(397) : warning 217: loose indentation
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(420) : error 004: function "ProxDetector" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(424) : warning 217: loose indentation
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(447) : error 004: function "ProxDetector" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(455) : error 033: array must be indexed (variable "tmp")
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(461) : error 017: undefined symbol "ReturnUser"
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(484) : error 004: function "ProxDetectorS" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(491) : error 004: function "PlayerActionMessage" is not implemented
C:\Users\pc\Desktop\s3rv3r\gamemodes\drrp.pwn(516) : error 030: compound statement not closed at the end of file (started at line 277)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


12 Errors.

EDIT: I have ten errors now after I deleted a command that wasnt neccesary.
Reply
#3

You need the strtok define. Also you need that new tmp, new cmd etc .. cmd = strtock ....

Find that and copy in your script. Under OnPlayercommandText
Reply
#4

I've found it, and copied it, but I just dropped it, I tried to fix it myself, but no, to many errors.
Thanks though....
Reply
#5

Give a script here.. i'll help you and delete OnPlayerPrivmsg.
Reply
#6

Copy the missing functions too.
Reply
#7

Show me ur errors and ur code!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)