Changeing A Command
#9

okay cause i am wanting to change it to /b for local ooc not the " ("
and i tried this
Код:
	if(strcmp(cmd, "/b", true) == 0)
    {
        if(text[1] != 0)
        {
            format(string, sizeof(string),"(( Local OOC: %s says: %s ))", PlayerName(playerid),text[1]);
            ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
            OOCLog(string);
            return 0;
        }
    }
and i get this error
Код:
C:\Users\Robert\Desktop\SA-MP\gamemodes\crp.pwn(1546) : error 017: undefined symbol "cmd"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Changeing A Command - by robert4049 - 13.07.2010, 20:27
Re: Changeing A Command - by oliverrud - 13.07.2010, 20:45
Re: Changeing A Command - by robert4049 - 13.07.2010, 20:49
Re: Changeing A Command - by oliverrud - 13.07.2010, 21:20
Re: Changeing A Command - by robert4049 - 13.07.2010, 21:24
Re: Changeing A Command - by robert4049 - 13.07.2010, 21:41
Re: Changeing A Command - by robert4049 - 14.07.2010, 00:32
Re: Changeing A Command - by CuervO - 14.07.2010, 00:36
Re: Changeing A Command - by robert4049 - 14.07.2010, 00:56
Re: Changeing A Command - by Dennis - 14.07.2010, 01:31

Forum Jump:


Users browsing this thread: 1 Guest(s)