[Ajuda] ZCMD
#1

pawn Код:
OnPlayerCommandText(playerid,"/portao");
Como ficaria isso em zcmd?
Reply
#2

cmd_portao(playerid);
Reply
#3

cmd_portao(playerid,params[]);
Reply
#4

Код:
warning 202: number of arguments does not match definition
Reply
#5

Creio que seria:

PHP код:
cmd_portao(playerid""); 
Reply
#6

pawn Код:
cmd:querocu(playerid)
{
return querocu2(playerid);
}
?
Reply
#7

cmd_portao(playerid);

e no seu comando troque CMDortao(playerid,params[]) por CMDortao(playerid)
Reply
#8

Й o seguinte, to tentando fazer isso em zcmd:

pawn Код:
if ((newkeys==KEY_JUMP))
{
    OnPlayerCommandText(playerid,"/portao");
}
    return 1;
}
Jб tentei:

pawn Код:
if ((newkeys==KEY_JUMP))
{
    cmd_comandoblabla(playerid);
}
    return 1;
}
Mais dб o seguinte aviso:

Код:
warning 202: number of arguments does not match definition
Reply
#9

Quote:
Originally Posted by steeldark
Посмотреть сообщение

PHP код:
cmd_portao(playerid""); 
Este й o correto.
Reply
#10

Quote:
Originally Posted by delete
Посмотреть сообщение
Й o seguinte, to tentando fazer isso em zcmd:

pawn Код:
if ((newkeys==KEY_JUMP))
{
    OnPlayerCommandText(playerid,"/portao");
}
    return 1;
}
Jб tentei:

pawn Код:
if ((newkeys==KEY_JUMP))
{
    cmd_comandoblabla(playerid);
}
    return 1;
}
Mais dб o seguinte aviso:

Код:
warning 202: number of arguments does not match definition
pawn Код:
if((new keys == KEY_JUMP)) return cmd_comandoblablabla(playerid);
Isto?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)