SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 30/11/2011, 01:31 PM   #11
Mr.Fames
Huge Clucker
 
Join Date: Oct 2011
Posts: 335
Reputation: 24
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

great script man thx
Can i edit it and use it on my own server pls ?
__________________
Mr.Fames is offline   Reply With Quote
Old 30/11/2011, 01:33 PM   #12
LeMoi
Gangsta
 
LeMoi's Avatar
 
Join Date: Jul 2011
Location: Portugal
Posts: 972
Reputation: 112
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

Nice.
__________________
Leaving PAWN - Moving to something more complex
LeMoi is offline   Reply With Quote
Old 30/11/2011, 04:34 PM   #13
ElkaBlazer
Little Clucker
 
Join Date: Apr 2011
Posts: 28
Reputation: 0
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

Bet u didnt finish the vehicle ownership cuz it was too hard for you to understand how to save them using id....anyways nice script
ElkaBlazer is offline   Reply With Quote
Old 30/11/2011, 06:18 PM   #14
Jack_Leslie
High-roller
 
Jack_Leslie's Avatar
 
Join Date: Feb 2011
Location: Australia
Posts: 1,197
Reputation: 98
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

Quote:
Originally Posted by ElkaBlazer View Post
Bet u didnt finish the vehicle ownership cuz it was too hard for you to understand how to save them using id....anyways nice script
Bet you can't make your own script from scratch, and if I can finish a house system how can't I finish a vehicle system? Just to shut you up you ignorant prick, I'll finish it and re-release it, even though I've already finished it on my current active server, dumbass.

And yes you may edit this and use it on your server.
__________________
lol
Jack_Leslie is offline   Reply With Quote
Old 30/11/2011, 07:41 PM   #15
knightice
Little Clucker
 
Join Date: Nov 2011
Posts: 27
Reputation: 5
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

Could you add an Army faction?
__________________
~KnightIce~
knightice is offline   Reply With Quote
Old 30/11/2011, 07:51 PM   #16
ElkaBlazer
Little Clucker
 
Join Date: Apr 2011
Posts: 28
Reputation: 0
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

Quote:
Originally Posted by Jack_Leslie View Post
Bet you can't make your own script from scratch, and if I can finish a house system how can't I finish a vehicle system? Just to shut you up you ignorant prick, I'll finish it and re-release it, even though I've already finished it on my current active server, dumbass.

And yes you may edit this and use it on your server.
LOL u mad ?

too bad you cant insult on this forums , you would of cry right now

anyway, a house system is something you can make in 20 minutes ,
while a vehicle system is much more advanced and tricky with the id .

depends what kind of vehicle system u make .
ElkaBlazer is offline   Reply With Quote
Old 30/11/2011, 07:57 PM   #17
Jack_Leslie
High-roller
 
Jack_Leslie's Avatar
 
Join Date: Feb 2011
Location: Australia
Posts: 1,197
Reputation: 98
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

Quote:
Originally Posted by knightice View Post
Could you add an Army faction?
Yes, replace the original coding with this:

pawn Code:
stock GetFactionName(factionid)
{
    new string[126];
    switch(factionid)
    {
        case 14: string = "Bone County Army";
        case 13: string = "Bone County News";
        case 12: string = "Bone County Government";
        case 11: string = "Bayside City Council";
        case 10: string = "Bayside Fire and Rescue";
        case 9: string = "Bayside Medical Department";
        case 8: string = "Bayside Police Department";
        case 7: string = "Las Payasadas Sheriff Department";
        case 6: string = "El Quebrados Council";
        case 5: string = "El Quebrados Sheriff Department";
        case 4: string = "Las Barrancas Sheriff Department";
        case 3: string = "Fort Carson Council";
        case 2: string = "Fort Carson Medical Service";
        case 1: string = "Fort Carson Sheriff Department";
        case 0: string = "None";
        default: string = "Unknown";
    }
    return string;
}

pawn Code:
YCMD:makeleader(playerid, params[])
{
    if(gPlayerLoggedIn[playerid] == 0) return 1;

    if(PlayerInfo[playerid][Admin] < 5) return 1;
   
    new target, factionid, string[126];
    if(sscanf(params, "ud", target, factionid))
    {
        SendClientMessage(playerid, COLOR_GREY, "YCMD: /makeleader [Part of Name/ID] [Faction ID]");
        SendClientMessage(playerid, COLOR_GREY," Faction IDs: 1 - Fort Carson Sheriff Department");
        SendClientMessage(playerid, COLOR_GREY," 2 - Fort Carson Medical Service, 3 - Fort Carson Council");
        SendClientMessage(playerid, COLOR_GREY," 4 - Las Barrancas Sheriff Department, 5 - El Quebrados Sheriff Department");
        SendClientMessage(playerid, COLOR_GREY," 6 - El Quebrados Council, 7 - Las Payasadas Sheriff Department");
        SendClientMessage(playerid, COLOR_GREY," 8 - Bayside Police Department, 9 - Bayside Medical Department");
        SendClientMessage(playerid, COLOR_GREY," 10 - Bayside Fire and Rescue, 11 - Bayside City Council");
        SendClientMessage(playerid, COLOR_GREY," 12 - Bone County Government, 13 - Bone County News, 14 - Bone County Army");
        return 1;
    }
   
    if(factionid < 0 || factionid > 14) return SendClientMessage(playerid, COLOR_GREY, "Factions go from 0 to 14.");
   
    if(!IsPlayerConnected(target)) return SendClientMessage(playerid, COLOR_GREY ,"User is not connected.");
   
    if(factionid == PlayerInfo[target][FLeader]) return SendClientMessage(playerid, COLOR_GREY, "That player is already the leader of this faction.");
   
    if(factionid == 0)
    {
        PlayerInfo[target][Faction] = 0;
        PlayerInfo[target][FLeader] = 0;
        SendClientMessage(target, COLOR_LIGHTRED, "An admin has revoked your Faction Leadership rights.");
        format(string, sizeof(string), "AdmWarning: You made revoked %s's Faction Leadership rights.", PlayerName(target));
        SendClientMessage(playerid, COLOR_LIGHTRED, string);
        return 1;
    }
   
    PlayerInfo[target][Faction] = factionid;
    PlayerInfo[target][FLeader] = factionid;
   
    format(string, sizeof(string), "Admin %s has made you leader of the %s!", PlayerName(playerid), GetFactionName(factionid));
    SendClientMessage(target, COLOR_LIGHTBLUE, string);
   
    format(string, sizeof(string), "AdmWarning: %s made %s leader of %s.", PlayerName(playerid), PlayerName(target), GetFactionName(factionid));
    AMessage(COLOR_LIGHTRED, string);

    return 1;
}
__________________
lol
Jack_Leslie is offline   Reply With Quote
Old 30/11/2011, 09:18 PM   #18
legho
Big Clucker
 
Join Date: Sep 2010
Posts: 67
Reputation: 2
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

v nice! Congratssss!
__________________

Looking for staff please contact me to help get maximum gaming running.
legho is offline   Reply With Quote
Old 02/12/2011, 10:36 PM   #19
knightice
Little Clucker
 
Join Date: Nov 2011
Posts: 27
Reputation: 5
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

Very Nice,
__________________
~KnightIce~
knightice is offline   Reply With Quote
Old 17/12/2011, 10:22 AM   #20
trickter
Little Clucker
 
trickter's Avatar
 
Join Date: Nov 2011
Location: In my PANTS !
Posts: 35
Reputation: 7
Default Re: Bone County Roleplay - Unique [YSI, YCMD]

Let me test it mate
trickter 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



All times are GMT. The time now is 11:09 AM.


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