SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 16/05/2009, 04:01 PM   #1
*BueNoOo*
Big Clucker
 
Join Date: Mar 2009
Posts: 91
Reputation: 0
Default complaint help

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 ((
*BueNoOo* is offline  
Old 16/05/2009, 07:17 PM   #2
*BueNoOo*
Big Clucker
 
Join Date: Mar 2009
Posts: 91
Reputation: 0
Default Re: complaint help

bump (
*BueNoOo* is offline  
Old 16/05/2009, 07:30 PM   #3
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,293
Reputation: 0
Default Re: complaint help

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?.
Weirdosport is offline  
Old 16/05/2009, 08:35 PM   #4
*BueNoOo*
Big Clucker
 
Join Date: Mar 2009
Posts: 91
Reputation: 0
Default Re: complaint help

thank you very much I appreciate your help but how do I make a command ? like /complaint
*BueNoOo* is offline  
Old 16/05/2009, 08:41 PM   #5
member
Huge Clucker
 
Join Date: Sep 2007
Posts: 365
Reputation: 0
Default Re: complaint help

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).

member is offline  
Old 16/05/2009, 09:53 PM   #6
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,293
Reputation: 0
Default Re: complaint help

Well it depends, you can't complaint, you can complain. The act of making a complaint is complaining... so technically it should be /complain...
Weirdosport is offline  
Old 16/05/2009, 10:34 PM   #7
*BueNoOo*
Big Clucker
 
Join Date: Mar 2009
Posts: 91
Reputation: 0
Default Re: complaint help

yeah whatever I just didnt see the /complain | /complaint thing there :P but thanks ! where can I edit it to be something else xD ??
*BueNoOo* is offline  
Old 16/05/2009, 10:44 PM   #8
Weirdosport
High-roller
 
Join Date: Jul 2008
Posts: 1,293
Reputation: 0
Default Re: complaint help

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
Weirdosport is offline  
Old 17/05/2009, 07:09 PM   #9
*BueNoOo*
Big Clucker
 
Join Date: Mar 2009
Posts: 91
Reputation: 0
Default Re: complaint help

I want to change a player command from /complain to something else
*BueNoOo* is offline  
Old 17/05/2009, 08:28 PM   #10
Ignas1337
Gangsta
 
Join Date: Jul 2007
Posts: 546
Reputation: 1
Default Re: complaint help

just change the complain to something else in the script
ain't that had
Ignas1337 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SARP] San Andreas Roleplay - Hacking issue/Complaint PowerSurge Server Support 2 02/06/2010 05:00 PM
Complaint about new CreatePickup sebihunter Help Archive 9 02/09/2009 06:50 PM
Complaint About SA:MP V 0.2X Brian_Wood General 2 13/01/2009 05:11 AM
[Complaint] SF-RP Attacks against SA-RP [SA-RP]Purge Server Support 5 05/01/2009 09:15 PM


All times are GMT. The time now is 09:36 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.