problem with a caracter in zcmd
#1

Hello i need help for make a /( command in zcmd, can anyone help me or it's impossible ?
Reply
#2

show the command please.
Reply
#3

https://sampforum.blast.hk/showthread.php?tid=91354

WOW that mighty www.******.com :O
Reply
#4

I want to my like the command "/("
Код:
COMMAND:((playerid, params[])
{
  // some stuff here
  return 1;
}
Reply
#5

Not possible
Reply
#6

You can do it but in OnPlayerText:

PHP код:
public OnPlayerText(playeridtext[])
{
    if(
text[0] == '(')
    {
        
//Here he typed ( :)
        
return 0;
    }
    return 
1;

Reply
#7

It is possible, but you will have to edit the include (replace "(" for a character that is supported in defining functions). Or just edit the macro, possibly.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)