Help me out! Dcmd!
#1

Quote:

public OnPlayerCommandText(playerid, cmdtext[])
{
dcmd(freeze, 6, cmdtext);
if (!strlen(params))
{
SendClientMessage(playerid, 0xFFFFFF, "Usage: /freeze [playerid]);
return 1;
}
new otherplayer = strval(params);
TogglePlayerControllable(otherplayer, false);
return 1;
}

6 errors with this. And yes I added the define line.....

Quote:

E:\samp02Xserver.win32\pawno\Dmcd.pwn(99) : error 017: undefined symbol "dcmd_freeze"
E:\samp02Xserver.win32\pawno\Dmcd.pwn(100) : error 017: undefined symbol "params"
E:\samp02Xserver.win32\pawno\Dmcd.pwn(102) : error 037: invalid string (possibly non-terminated string)
E:\samp02Xserver.win32\pawno\Dmcd.pwn(102) : error 029: invalid expression, assumed zero
E:\samp02Xserver.win32\pawno\Dmcd.pwn(102) : error 017: undefined symbol "freeze"
E:\samp02Xserver.win32\pawno\Dmcd.pwn(102) : fatal error 107: too many error messages on one line

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


6 Errors.

Help me out...
Reply


Messages In This Thread
Help me out! Dcmd! - by waza75 - 26.05.2009, 13:01
Re: Help me out! Dcmd! - by Rks25 - 26.05.2009, 13:03
Re: Help me out! Dcmd! - by waza75 - 26.05.2009, 13:04
Re: Help me out! Dcmd! - by DracoBlue - 26.05.2009, 13:05
Re: Help me out! Dcmd! - by waza75 - 26.05.2009, 13:06

Forum Jump:


Users browsing this thread: 1 Guest(s)