Posts: 386
Threads: 109
Joined: Oct 2010
Reputation:
0
Hello, i was told that the easiest way to make a /pm command was to do it via strtok, so i was wondering if anyone could give me an example of a PM script, Please.
I will appreciate it if you do!.
Posts: 386
Threads: 109
Joined: Oct 2010
Reputation:
0
Erm, what do i search, because everything i seem to search, doesnt turn out possitive :/
Posts: 190
Threads: 8
Joined: Oct 2010
Reputation:
0
strtok is not the best way to create a PM command, or any command. Use zcmd + sscanf. Search for these, they come with documentation.
Posts: 701
Threads: 23
Joined: Feb 2007
Reputation:
0
There is a /pm command that comes with the server download.
The command is inside the "Base" filterscript.
Its written with strcmp and strtok. Which works just fine!
Posts: 81
Threads: 0
Joined: May 2010
Reputation:
0
Use zcmd;
Clue:
Show the message that player typed to both himself and the guy that he's sending PM of.