/pm HELP!?!
#1

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!.
Reply
#2

The best thing before posting such a topic is searching by yourself.
http://forum.sa-mp.com/search.php?do=process
Reply
#3

Erm, what do i search, because everything i seem to search, doesnt turn out possitive :/
Reply
#4

strtok is not the best way to create a PM command, or any command. Use zcmd + sscanf. Search for these, they come with documentation.
Reply
#5

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!
Reply
#6

Use zcmd;
Clue:

Show the message that player typed to both himself and the guy that he's sending PM of.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)