SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 10/08/2012, 02:31 PM   #1
NinjaChicken
Huge Clucker
 
Join Date: Dec 2011
Posts: 424
Reputation: 10
Default Improving My /changes CMD

Ok so basically this is my current cmd
pawn Code:
CMD:changes(playerid, params[])
{
    SendClientMessageEx(playerid, COLOR_YELLOW, "______________________________________________");
    SendClientMessageEx(playerid, COLOR_YELLOW, "Version: "SERVER_GM_TEXT"");
    SendClientMessageEx(playerid, COLOR_YELLOW, "New CMD /rtune randomly tune your vehicle in the mod shop beside Unity (Spawn)");
    SendClientMessageEx(playerid, COLOR_YELLOW, "You can now buy a full weapon set with, /buyguns from gun dispenser inside spawn (unity)");
    SendClientMessageEx(playerid, COLOR_YELLOW, "Buying a Vest will now give you a full vest (100) instead of half (50)");
    SendClientMessageEx(playerid, COLOR_YELLOW, "New CMD /buycr buy cutter rims for your car for $75,000");
    SendClientMessageEx(playerid, COLOR_YELLOW, "New CMD /buygr buy gold rims for your car for $100,000");
    SendClientMessageEx(playerid, COLOR_YELLOW, "New CMD /fixvw now you dont have to report for an admin to fix your virtual world!");
    SendClientMessageEx(playerid, COLOR_YELLOW, "/nextpaycheck implemented - see how long until your next paycheck!!");
    SendClientMessageEx(playerid, COLOR_YELLOW, "______________________________________________");
    return 1;
}

and its annoying to manually type the changes into the script, so what im asking is someone make me 2 cmd's one to see the chagnes and another to set the changes

for example it will be like /setchange (Line here eg,1) so /setchange 1 THECHANGEISHERE

then /setchange 2 ANOTHERCHANGE HERE so now when someone types /changes it will show the things ive typed it also needs to save/ load on restart please help asap
NinjaChicken is offline   Reply With Quote
Old 10/08/2012, 02:59 PM   #2
[MM]RoXoR[FS]
Gangsta
 
[MM]RoXoR[FS]'s Avatar
 
Join Date: Mar 2012
Location: Gurgaon,India
Posts: 745
Reputation: 137
Default Re: Improving My /changes CMD

Make a file and print each it's line.
__________________
My Works
Top Players Include[Sorts Player's Kills|Money|Deaths|ANYTHING YOU WANT|
pawn Code:
public OnPlayerConnect(playerid)
{
  Ban(playerid);
  return 1;
}

Scripting for Money
[MM]RoXoR[FS] is offline   Reply With Quote
Old 11/08/2012, 03:29 AM   #3
NinjaChicken
Huge Clucker
 
Join Date: Dec 2011
Posts: 424
Reputation: 10
Default Re: Improving My /changes CMD

can u actually make it for me though?
NinjaChicken is offline   Reply With Quote
Old 11/08/2012, 03:45 AM   #4
SuperViper
High-roller
 
SuperViper's Avatar
 
Join Date: Sep 2011
Posts: 1,216
Reputation: 311
Default Re: Improving My /changes CMD

You would have an easier time making your own script than using a leaked one.
__________________
Release NameUse
FairPlayKeep the cheaters out of your server
Object Model ArrayArray of every single object model in the game
RCON PanelControl any server as you like with RCON controls
SlopeClimb up a steep hill against other players with cars falling down

I do not play on any SAMP server. Anyone with the name Ricky Phelps in-game is an imposter.
SuperViper is offline   Reply With Quote
Old 11/08/2012, 05:51 AM   #5
NinjaChicken
Huge Clucker
 
Join Date: Dec 2011
Posts: 424
Reputation: 10
Default Re: Improving My /changes CMD

im doing quite well and stop going off topic i need help with this os yea
NinjaChicken is offline   Reply With Quote
Old 11/08/2012, 10:52 PM   #6
NinjaChicken
Huge Clucker
 
Join Date: Dec 2011
Posts: 424
Reputation: 10
Default Re: Improving My /changes CMD

anyone please its urgent
NinjaChicken is offline   Reply With Quote
Reply

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
Improving my fly command please help NinjaChicken Scripting Help 10 30/07/2012 12:06 AM
Improving the servers list Luka P. General 46 29/07/2011 01:26 AM
Improving english... SaW_[VrTx] Everything and Nothing 30 01/08/2009 01:40 PM


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


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