Hallo ich zeige euch heute wie ihr ein zoll ins script einfügt. Im GFF.
Als Erstes geht ihr zu /makeleader.
Da macht ihr nach:
else if(level == 12) { PlayerInfo[para1][pChar] = 115; } //Driving/Flying School
das
else if(level == 13) { PlayerInfo[para1][pChar] = 71; } //Zoll.13 die id und 71 der skin.
so.
Jetzt zum family chat, gibt /family in der SUFU ein.
nach else if (member==11)
macht ihr:
else if(member==13)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** Zoll Boss %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** Zoll-5 %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** Zoll-4 %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** Zoll-3 %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** Zoll-2 %s: %s. )) **", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** Zoll-1 %s: %s. )) **", sendername, result); }
else { format(string, sizeof(string), "** Zoll %s: %s. )) **", sendername, result); }
SendFamilyMessage(PlayerInfo[playerid][pMember], TEAM_AZTECAS_COLOR, string);
}
ddrunter auch wieder nach else if(leader==11)
else if(leader==13)
{
format(string, sizeof(string), "** OberBoss %s: %s. )) **", sendername, result);
SendFamilyMessage(PlayerInfo[playerid][pLeader], TEAM_AZTECAS_COLOR, string);
}
Jetzt zu public ShowStats
Da macht ihr unter else if(PlayerInfo[targetid][pMember] == 10
else if(PlayerInfo[targetid][pMember] == 13 || PlayerInfo[targetid][pLeader] == 13)//Zoll Ranks
{
if(PlayerInfo[targetid][pRank] == 1) { rtext = "Zoll-1"; }
else if(PlayerInfo[targetid][pRank] == 2) { rtext = "Zoll-2"; }
else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Zoll-3"; }
else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Zoll-4"; }
else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Zoll-5"; }
else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Boss"; }
else { rtext = "ZOLL"; }
Jetzt geht ihr zu public SetPlayerSpawn
Jetzt wieder nach
if (PlayerInfo[playerid][pMember] == 10
if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)//Zoll
{
SetPlayerToTeamColor(playerid);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 24, 100);
GivePlayerWeapon(playerid, 28, 100);
GivePlayerWeapon(playerid, 30, 100);
GivePlayerWeapon(playerid, 29, 100);
SetPlayerPos(playerid,2490.1069,2397.5977,4.2109);
SetPlayerInterior(playerid, 0);
SetPlayerHealth(playerid, 100);
PlayerInfo[playerid][pInt] = 0;
return 1;
Das Einfügen.
//Edit: Wird zu lang poste noch das 2 stück