Elevator Moving
#9

Quote:
Originally Posted by IvancheBG
Посмотреть сообщение
try to put this under OnPlayerCommandText

Код:
new cmd[128], idx;
    cmd = strtok(cmdtext, idx);
it look like this

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new cmd[128], idx;
    cmd = strtok(cmdtext, idx);
Код:
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(4) : error 010: invalid function or declaration
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(16) : warning 219: local variable "cmd" shadows a variable at a preceding level
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(16) : warning 219: local variable "idx" shadows a variable at a preceding level
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(17) : error 017: undefined symbol "strtok"
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(17) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(18) : warning 217: loose indentation
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(20) : error 017: undefined symbol "COLOR_RED"
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(23) : warning 217: loose indentation
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(25) : error 017: undefined symbol "COLOR_RED"
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(28) : warning 217: loose indentation
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(16) : warning 203: symbol is never used: "idx"
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(16 -- 31) : warning 203: symbol is never used: "cmd"
C:\Documents and Settings\test\Desktop\Big Brother ™800\filterscripts\moveobj.pwn(16 -- 31) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply


Messages In This Thread
Elevator Moving - by [DJ]Boki - 14.04.2011, 16:31
Re: Elevator Moving - by Niko_boy - 14.04.2011, 16:39
Re: Elevator Moving - by [DJ]Boki - 14.04.2011, 16:44
Re: Elevator Moving - by VT - 14.04.2011, 16:46
Re: Elevator Moving - by Conroy - 14.04.2011, 16:58
Re: Elevator Moving - by Niko_boy - 14.04.2011, 17:52
Re: Elevator Moving - by [DJ]Boki - 14.04.2011, 17:57
Re: Elevator Moving - by IvancheBG - 14.04.2011, 18:03
Re: Elevator Moving - by [DJ]Boki - 14.04.2011, 18:31
Re: Elevator Moving - by Anastasia - 14.04.2011, 19:08

Forum Jump:


Users browsing this thread: 2 Guest(s)