complaint help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: complaint help (
/showthread.php?tid=77984)
complaint help -
*BueNoOo* - 16.05.2009
how can I make something like /complaint and it saves the complaint into a file ?
I mean when a player types /complaint it sends him a message USAGE : /complayint <text> and then it saves his message (complaint) into a file in my scriptfiles
how can i do this

((
Re: complaint help -
*BueNoOo* - 16.05.2009
bump

(
Re: complaint help -
Weirdosport - 16.05.2009
I'm in a mood to make random scripts for people... Give me a minute..
http://pastebin.com/d5e487ed
This self destructs in a day...
Output:
Code:
Complaints:
Thomas_Conroy: RAWWRRRR!!!!!!!.
Thomas_Conroy: RAWWRRRR!!!!!!!.
Thomas_Conroy: you get the idea?.
Re: complaint help -
*BueNoOo* - 16.05.2009
thank you very much I appreciate your help but how do I make a command ? like /complaint
Re: complaint help -
member - 16.05.2009
Quote:
Originally Posted by *BueNoOo*
thank you very much I appreciate your help but how do I make a command ? like /complaint
|
err WeirdoSport just gave u the script he made in the pastebin link. He didn't use /complaint but he used /complain (/complaint is the correct grammar to use in English).
Re: complaint help -
Weirdosport - 16.05.2009
Well it depends, you can't complaint, you can complain. The act of making a complaint is complaining... so technically it should be /complain...
Re: complaint help -
*BueNoOo* - 16.05.2009
yeah whatever I just didnt see the /complain | /complaint thing there :P but thanks ! where can I edit it to be something else xD ??
Re: complaint help -
Weirdosport - 16.05.2009
What do you mean? As long as you don't mess with the file bits, you can change the text to whatever you want, just ensure you keep the \r\n bits and it will look alright in the .txt
Re: complaint help -
*BueNoOo* - 17.05.2009
I want to change a player command from /complain to something else
Re: complaint help -
Ignas1337 - 17.05.2009
just change the complain to something else in the script
ain't that had