SA-MP Forums Archive
[HELP]Error strange - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Error strange (/showthread.php?tid=132284)



[HELP]Error strange - iShen - 07.03.2010

Hello I'm new here, I want to help me please
Quote:

Cocuments and SettingsAdministratorщемзп дтбегдServergamemodesModS.pwn(2069) : error 021: symbol already defined: "strtok"
Cocuments and SettingsAdministratorщемзп дтбегдServergamemodesModS.pwn(2084) : warning 209: function "strtok" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Line 2069:
Quote:

strtok(const string[], &index)

Line 2084:
Quote:

result[index - offset] = EOS;

What to fix please help me
Thanks , Shen



Re: [HELP]Error strange - cessil - 07.03.2010

error 1: you have defined strtok twice in your script.
error 2: strtok must have a return in it


Re: [HELP]Error strange - iShen - 07.03.2010

What do you mean how to fix and may know how to know you can help me?


Re: [HELP]Error strange - ¤Adas¤ - 07.03.2010

Remove one of strtok definitions.