[Ajuda] Mudar comando in-game
#6

Uso de variбveis com strcmp...

Por exemplo,
No commandtext
pawn Code:
if(strcmp(cmd, CmdVar, true) == 0)
E no comando para alterar
pawn Code:
format(CmdVar, sizeof(CmdVar), "/newCommand");
Й algo que eu tentaria fazer, se alguйm souber outro modo poste.
Reply


Messages In This Thread
Mudar comando in-game - by ipsLuan - 04.10.2014, 17:16
Re: Mudar comando in-game - by connork - 04.10.2014, 17:24
Re: Mudar comando in-game - by ipsLuan - 04.10.2014, 17:28
Re: Mudar comando in-game - by connork - 04.10.2014, 17:33
Re: Mudar comando in-game - by ipsLuan - 04.10.2014, 17:39
Re: Mudar comando in-game - by connork - 04.10.2014, 19:55

Forum Jump:


Users browsing this thread: 3 Guest(s)