View Single Post
Old 30/11/2011, 02:32 AM   #8
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]

Part of a faction system,
there's /makeleader with faction names, you could easily make your own faction commands and cars with what's already there.

Quote:
Originally Posted by /makeleader
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");
return 1;
}
Then you could use GetFactionName(PlayerInfo[playerid][Faction]) to get the players faction name.
__________________
lol
Jack_Leslie is offline   Reply With Quote