CMD bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: CMD bug (
/showthread.php?tid=410246)
CMD bug -
iManakoss - 24.01.2013
I scripted /pdgateopen. I type in game /pdgateopen and the it shows "Server: Unknown Command". Please help me!
Re: CMD bug -
SomeRandomGuy123 - 24.01.2013
Well, if you gave the command it'd be helpful.
Re: CMD bug -
ZayanImran - 25.01.2013
show me your includes and show me your command code here
Re: CMD bug -
RajatPawar - 25.01.2013
Sometimes, if you use zcmd to create a command like:
pawn Код:
CMD:yourcommand(playerid, params[])
but don't
in the first place, it won't show errors, but it won't run ingame (the command).
AW: CMD bug -
Blackazur - 25.01.2013
You should give us the Code, btw wrong categorie.
AW: CMD bug -
Mellnik - 25.01.2013
Look if you return 0 somewhere in OnPlayerCommandText.
Re: CMD bug -
Vin Diesel - 25.01.2013
Quote:
Originally Posted by iManakoss
I scripted /pdgateopen. I type in game /pdgateopen and the it shows "Server: Unknown Command". Please help me!
|
This Example if you want make command for admin or an player
if you want make it for player remove [pAdmin]
Код:
CMD:your command(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= || PlayerInfo[playerid] ==