26.05.2009, 13:01
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; } |
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. |