Looking for a PM system.
#1

Hello, im looking for a pm system.
Does anyone know one?

Thanks
Reply
#2

You can just make a command...

SendClientMessage with the text the dude put in the parameters of the command

I.E -
Код:
/pm PLAYERID hello thefakepwnznub"
use the format function to format what he said in the parameters..
I.E -
Код:
format(string,sizeof(string),"%s",params);
Yeah i use DCMD...
Then send the string to the playerid the dude entered
I.E -
Код:
SendClientMessage(playerid, COLOR, string);
Hey I aint giving you no complete code...
Learn by yourself...
Aint trying to be mean or anything, but hey.. you'll never learn if somebody posts the code for you..

Noxy

EDIT -
https://sampwiki.blast.hk/wiki/SendClientMessage
https://sampwiki.blast.hk/wiki/Format
https://sampwiki.blast.hk/wiki/Fast_Commands

EDIT2 -
Wrong section
Ask a mod to move it to the scripting discussions thread..
Reply
#3

There's a filterscript called base.pwn in your filterscripts folder, see it.
Reply
#4

Didn't see that
Reply
#5

What in the filterscript is awful in my opinion.
Create your own, it ain't that hard.
Reply
#6

Ok thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)