[Ajuda] Funзao Dando Errado - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Funзao Dando Errado (
/showthread.php?tid=573667)
Funзao Dando Errado -
JuniorTheDM - 09.05.2015
Eu Quero Colocar Para Abrir um CMD - POR UMA TECLA ALGUEM ME AJUDA
Uso A Include zCMD
PHP код:
if ((newkeys==KEY_CTRL_BACK))
{
OnPlayerCommandText(playerid,"/mochila");
}
PHP код:
C:\Users\Usuario\Desktop\Brasil Better City\gamemodes\BPS.pwn(83835) : error 004: function "zcmd_OnPlayerCommandText" is not implemented
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Re: Funзao Dando Errado -
Lуs - 09.05.2015
PHP код:
cmd_mochila(playerid, "");
Re: Funзao Dando Errado -
JuniorTheDM - 09.05.2015
Lуs eu colocaria assim olha
Quote:
cmd_mochila(playerid, "E AKI BOTO OQ");
|
Re: Funзao Dando Errado -
Lуs - 09.05.2015
Quote:
Originally Posted by JuniorTheDM
Lуs eu colocaria assim olha
|
Sгo os parвmetros, se o comando nгo possui parвmetros, deixe vazio.
Re: Funзao Dando Errado -
Luucass - 09.05.2015
Em OnPlayerKeyStateChange
pawn Код:
if(newkeys == KEY_CTRL_BACK) cmd_mochila(playerid, "");
ve se funciona