Help with dcmd - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with dcmd (
/showthread.php?tid=215615)
Help with dcmd -
mel~vin - 23.01.2011
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
Re: Help with dcmd -
blackwave - 23.01.2011
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
/*==============================================================================
---------------------------------DCMD-------------------------------------------
==============================================================================*/
dcmd(kick,4,cmdtext);
return 0;
}
dcmd_kick(playerid,params[])
{
return 1;
}
Re: Help with dcmd -
mel~vin - 23.01.2011
thanks