SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 15/12/2009, 01:28 PM   #1
Castle
Huge Clucker
 
Castle's Avatar
 
Join Date: Aug 2008
Posts: 331
Reputation: 0
Default [GM] Carlito's Roleplay 0.2x ==> 0.3a

Well I thought that much people who use this mode doesn't know how to convert the mod correctly so it will work with 0.3a with out errors and crashes.
Heres what I did if anyone wants to look what is changed.
Added:
forward OnPlayerPrivMsg(playerid,receiverid,text[]);
forward OnPlayerInfoChange(playerid);

Changed Lines:
1674 ==> 1691

Commented out Lines:
88
14103
14105 ==> 14117
16163 ==> 16173

Quote:
Originally Posted by Norn

DONT PM ME, I WONT REPLY





Dynamics: The script is completely dynamic, meaning we can set every single thing that you see ingame with a simple command. No restarts needed for anything at all a part from main script changes. This makes for better roleplay experience and all round effectiveness.

Business System: Each business has a business type assigned to it, every type gets different commands, so again it will make for a better roleplay experience. Currently there are 7 types of business.

Phone Networks: Much like real life, when you get a simcard and you top it up. The money from phone calls amd text messages goes to that network. It's the same in the script, you buy phones from businesses that are phone networks and all money from calls and text messages goes straight into that businesses till. This is a feature i wanted to create from day one as i think it's great.

Advertisements: Unlike most roleplay scripts, to do an advertisement you must be in an advertisement business, there are several spread out throughout the city and are all player-owned.

Car System: I've decided not to add player-owned vehicles as of yet, it's easily done and will be added in the future if the playerbase is ok. At the moment the car system enables administrators to park vehicles, change models/colors etc. Also set factions to cars.

House System: House system is just like any other house script, you can buy,sell,rent. Only difference in mine is that you can store up to 2000 materials and 500 grams of drugs in your house. But be aware, the police can raid houses.

Faction System: Much like any other faction system, except factions can be created ingame with simple administrator commands.

Vehicle Engine System: Our vehicle engine system is very simple, like most others. Fuel will not go down in vehicles unless the engine is turned on and if the engine is turned off you will be froze until you exit the vehicle (Hit Enter) or start the vehicles engine. Fuel will go down if the vehicles engine is on and the vehicle is unoccupied, for a more realistic feel.

Vehicle Lock: We do not use vehicle params for our vehicle lock system, we use custom vehicle checks. If you lock a car, it's not only locked for everyone else besides you, it's also locked for you! If you want to unlock, you must stand beside the vehicle.

Serverside Money: This makes spawning money, IMPOSSIBLE. Which means we can be sure that all our players money was earned.

Pickup Streamer: We can have up to 30000 pickups, this makes for stability when adding large amounts of houses.

Jobs:
Arms Dealer: as the title suggests, you will be selling firearms if this is your job.
Drug Dealer: Your job will be to earn money supplying drugs to the city.
Detective: You will be able to find people, if they have there phones switched on.
Lawyer: You will be able to get justice for those wrongly imprisoned, and set them free.
Products Seller: You will supply products to business owners.

And more, check the script.

Download This is the old version 0.2X!

All the credit for the mode goes to Norn, I only converted it for 0.3a.
__________________
Castle is offline   Reply With Quote
Old 15/12/2009, 01:34 PM   #2
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: [GM] Carlito's Roleplay 0.2x ==> 0.3a

Quote:
Originally Posted by Castle
Added:
forward OnPlayerPrivMsg(playerid,receiverid,text[]);
forward OnPlayerInfoChange(playerid);
Those callbacks are removed in 0.3 and they shouldn't be forwarded, they should be deleted except if you're going to do something with them.
Correlli is offline   Reply With Quote
Old 15/12/2009, 01:37 PM   #3
Castle
Huge Clucker
 
Castle's Avatar
 
Join Date: Aug 2008
Posts: 331
Reputation: 0
Default Re: [GM] Carlito's Roleplay 0.2x ==> 0.3a

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Castle
Added:
forward OnPlayerPrivMsg(playerid,receiverid,text[]);
forward OnPlayerInfoChange(playerid);
Those callbacks are removed in 0.3 and they shouldn't be forwarded, they should be deleted except if you're going to do something with them.
Well the thing is that the GM is actually uses them that's why I added them. If you want you can check the lines where I changed and you will see it does use them.
__________________
Castle is offline   Reply With Quote
Old 15/12/2009, 01:42 PM   #4
Correlli
Godfather
 
Correlli's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 6,340
Reputation: 365
Default Re: [GM] Carlito's Roleplay 0.2x ==> 0.3a

Quote:
Originally Posted by Castle
Well the thing is that the GM is actually uses them that's why I added them. If you want you can check the lines where I changed and you will see it does use them.
No, it doesn't. I just checked it and i don't see any call for the OnPlayerPrivmsg or OnPlayerInfoChange, just these two public functions and some code in the OnPlayerPrivmsg-callback.
Correlli is offline   Reply With Quote
Old 15/12/2009, 01:44 PM   #5
MenaceX^
High-roller
 
Join Date: Aug 2008
Posts: 3,262
Reputation: 13
Default Re: [GM] Carlito's Roleplay 0.2x ==> 0.3a

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Castle
Well the thing is that the GM is actually uses them that's why I added them. If you want you can check the lines where I changed and you will see it does use them.
No, it doesn't. I just checked it and i don't see any call for the OnPlayerPrivmsg or OnPlayerInfoChange, just these two public functions and some code in the OnPlayerPrivmsg-callback.
Don's right, you need to do something with them, like I did. When I started to change my script from 0.2 to 0.3 I kept all the publics but I simply used them.
I made a PM command using OnPlayerPrivmsg.
MenaceX^ is offline   Reply With Quote
Old 15/12/2009, 02:15 PM   #6
Alex_scoth
Little Clucker
 
Join Date: Nov 2009
Posts: 12
Reputation: 0
Default Re: [GM] Carlito's Roleplay 0.2x ==> 0.3a

is this a SAGC edit? or is SAGC a Carlitos RP edit?
Alex_scoth is offline   Reply With Quote
Old 15/12/2009, 02:23 PM   #7
Castle
Huge Clucker
 
Castle's Avatar
 
Join Date: Aug 2008
Posts: 331
Reputation: 0
Default Re: [GM] Carlito's Roleplay 0.2x ==> 0.3a

Quote:
Originally Posted by Alex_scoth
is this a SAGC edit? or is SAGC a Carlitos RP edit?
Its not an Edit just conversion to 0.3a that's it.
and the unused Callbacks I'll deal with them abit later and reupload./...
__________________
Castle is offline   Reply With Quote
Old 15/12/2009, 02:38 PM   #8
shark
Big Clucker
 
Join Date: Nov 2007
Posts: 92
Reputation: 0
Default Re: [GM] Carlito's Roleplay 0.2x ==> 0.3a

Quote:
Originally Posted by Alex_scoth
is this a SAGC edit? or is SAGC a Carlitos RP edit?
Actually, SAGC is a Carlito's RP edit!

Anyways, I think you should remove the callbacks "OnPlayerPrivMsg" and "OnPlayerInfoChange", is not a big deal.
shark is offline   Reply With Quote
Old 15/12/2009, 02:53 PM   #9
Lotusmp
Big Clucker
 
Join Date: Nov 2009
Posts: 181
Reputation: 0
Default Re: [GM] Carlito's Roleplay 0.2x ==> 0.3a

Nice conver if u can please pm me how to convert!!
Lotusmp is offline   Reply With Quote
Old 15/12/2009, 10:23 PM   #10
Alex_scoth
Little Clucker
 
Join Date: Nov 2009
Posts: 12
Reputation: 0
Default Re: [GM] Carlito's Roleplay 0.2x ==> 0.3a

Quote:
Originally Posted by shark
Quote:
Originally Posted by Alex_scoth
is this a SAGC edit? or is SAGC a Carlitos RP edit?
Actually, SAGC is a Carlito's RP edit!

Anyways, I think you should remove the callbacks "OnPlayerPrivMsg" and "OnPlayerInfoChange", is not a big deal.
lol, well, euro the "creator" of SAGC never mention that anywhere
Alex_scoth 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
[GameMode] [GM] Carlito's Roleplay (NOT A GF EDIT) Norn Gamemode Scripts 1423 06/12/2019 08:10 AM
[GameMode] CityWide Roleplay: fully MySQL based roleplay server Alex_Raven Gamemode Scripts 823 01/09/2012 03:16 AM
Roleplay help Ritchie999 Help Archive 3 15/10/2009 02:23 PM
[URGENT/HELP] Weapon Saving (using carlito's rp script) Matthew_Murdoch Help Archive 41 17/09/2009 10:35 AM


All times are GMT. The time now is 07:13 AM.


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