30.11.2011, 02:32
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.
Then you could use GetFactionName(PlayerInfo[playerid][Faction]) to get the players faction name.
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; } |