Help with dcmd
#1

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
/*==============================================================================
---------------------------------DCMD-------------------------------------------
==============================================================================*/

dcmd(Kick,4,cmdtext);
//________________________________________________________________________________________
dcmd_kick(playerid,params[])
{
    return 1;
}
return 1;
}
pawn Код:
C:\Users\Melvin\Desktop\da\gamemodes\USF-Kopie.pwn.pwn(374) : error 017: undefined symbol "dcmd_Kick"
C:\Users\Melvin\Desktop\da\gamemodes\USF-Kopie.pwn.pwn(380) : error 017: undefined symbol "dcmd_kick"
C:\Users\Melvin\Desktop\da\gamemodes\USF-Kopie.pwn.pwn(391) : warning 225: unreachable code
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Where is the mistake
thanks
Reply
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
/*==============================================================================
---------------------------------DCMD-------------------------------------------
==============================================================================*/

dcmd(kick,4,cmdtext);
return 0;
}
dcmd_kick(playerid,params[])
{
    return 1;
}
Reply
#3

thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)