Pm error's - 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: Pm error's (
/showthread.php?tid=125172)
Pm error's -
The_Cobra - 02.02.2010
Hey all look this? why it's give many error
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(93) : error 017: undefined symbol "tmp"
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(93) : error 017: undefined symbol "strtok"
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(94) : error 017: undefined symbol "tmp"
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(95) : error 017: undefined symbol "tmp"
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(96) : error 017: undefined symbol "gMessage"
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(96) : error 017: undefined symbol "strrest"
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(97) : error 017: undefined symbol "gMessage"
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(99) : error 017: undefined symbol "iName"
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(99) : error 017: undefined symbol "iName"
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(99) : error 029: invalid expression, assumed zero
C:\Documents and Settings\COBRA\Desktop\Untitled.pwn(99) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
11 Errors.
Help me guy's pleaseeeee
and sorry for my bad english!!
Re: Pm error's - lameguy - 02.02.2010
Can you show the part of script which makes those errors?
Re: Pm error's -
[WSM]Deadly_Evil - 02.02.2010
Add these Lines after
public OnPlayerCommandText(playerid, cmdtext[])
Код:
new cmd[256];
new tmp[256];
new Message[256];
new gMessage[256];
new pName[MAX_PLAYER_NAME+1];
new iName[MAX_PLAYER_NAME+1];
new idx;
cmd = strtok(cmdtext, idx);