29.11.2010, 19:46
1. Respect from 8 to 1
2. Delete Families/Cars
These can all be taken out if you dont want families. Then you have to take out LoadFamilies(), SaveFamilies(), and a few commands that also use family components. Its alot of work but can be done easily. Just CTRL+F and look for FamilyInfo and take out anything that isnt needed. As for the cars they are all under OnGameModeInit() section.
3. 3D Chat Modules
pawn Код:
new levelexp = 4; //Find this line and change 4 to 1
pawn Код:
enum fInfo
{
FamilyTaken,
FamilyName[20],
FamilyMOTD[128],
FamilyColor[20],
FamilyLeader[MAX_PLAYER_NAME],
FamilyMembers,
Float:FamilySpawn[4],
FamilyInterior,
};
new FamilyInfo[10][fInfo]; //Families
pawn Код:
if(PlayerInfo[playerid][pFMember] != 255)
{
new family = PlayerInfo[playerid][pFMember];
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, FamilyInfo[family][FamilyInterior]);
SetPlayerPos(playerid, FamilyInfo[family][FamilySpawn][0],FamilyInfo[family][FamilySpawn][1],FamilyInfo[family][FamilySpawn][2]);
SetPlayerFacingAngle(playerid, FamilyInfo[family][FamilySpawn][3]);
return 1;
}//Family Spawns
pawn Код:
if(PlayerInfo[targetid][pFMember] < 255) { f2text = FamilyInfo[PlayerInfo[targetid][pFMember]][FamilyName]; } //Family Stats
pawn Код:
if(PlayerInfo[playerid][pFMember] < 255)
{
format(tmp2, sizeof(tmp2), "Family MOTD: %s.", FamilyInfo[PlayerInfo[playerid][pFMember]][FamilyMOTD]);
SendClientMessage(playerid, COLOR_YELLOW, tmp2);
} // Family MOTD
3. 3D Chat Modules
pawn Код:
public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, text, COLOR_WHITE, 100.0, 10000);
// Then the rest of the section goes below this