Jump to content

Question

Posted

Imi da crash pawno....

[pawn]/*if(GetPlayerState(killerid) == 1)

{

new Killer[MAX_PLAYER_NAME];

GetPlayerName(killerid, Killer, sizeof(Killer));

format(string,128," You are killed by %s !",Killer);

if(PlayerInfo[playerid][pMember] == 0)//CiviL

{

SendClientMessage(playerid, COLOR_WHITE, string);

}

else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || if(PlayerInfo[playerid][pLeader] == 2 ||PlayerInfo[playerid][pMember] == 3 || if(PlayerInfo[playerid][pLeader] == 3)

{

SendClientMessage(playerid, COLOR_PD, string);

}

else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)

{

SendClientMessage(playerid, COLOR_LIGHTRED, string);

}

else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)

{

SendClientMessage(playerid, COLOR_DARKNICERED, string);

}

else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)

{

SendClientMessage(playerid, COLOR_TRIADS, string);

}

else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)

{

SendClientMessage(playerid, COLOR_INVIS, string);

}

else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)

{

SendClientMessage(playerid, COLOR_PURPLE, string);

}

else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)

{

SendClientMessage(playerid, COLOR_TAXI, string);

}

else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)

{

SendClientMessage(playerid, COLOR_VAGOS, string);

}

else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)

{

SendClientMessage(playerid, COLOR_AZTECAS, string);

}

else if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)

{

SendClientMessage(playerid, COLOR_BALLAS, string);

}

else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)

{

SendClientMessage(playerid, COLOR_GREEN2, string);

return 1;

}

}*/[/pawn]

Sripting and Mapping .

5 answers to this question

Recommended Posts

Posted

/*if(GetPlayerState(killerid) == 1)

{

new Killer[MAX_PLAYER_NAME];

GetPlayerName(killerid, Killer, sizeof(Killer));

format(string,128," You are killed by %s !",Killer);

if(PlayerInfo[playerid][pMember] == 0)//CiviL

{

SendClientMessage(playerid, COLOR_WHITE, string);

}

else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || if(PlayerInfo[playerid][pLeader] == 2 ||PlayerInfo[playerid][pMember] == 3 || if(PlayerInfo[playerid][pLeader] == 3)

{

SendClientMessage(playerid, COLOR_PD, string);

}

else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)

{

SendClientMessage(playerid, COLOR_LIGHTRED, string);

}

else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)

{

SendClientMessage(playerid, COLOR_DARKNICERED, string);

}

else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)

{

SendClientMessage(playerid, COLOR_TRIADS, string);

}

else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)

{

SendClientMessage(playerid, COLOR_INVIS, string);

}

else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9)

{

SendClientMessage(playerid, COLOR_PURPLE, string);

}

else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)

{

SendClientMessage(playerid, COLOR_TAXI, string);

}

else if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)

{

SendClientMessage(playerid, COLOR_VAGOS, string);

}

else if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)

{

SendClientMessage(playerid, COLOR_AZTECAS, string);

}

else if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)

{

SendClientMessage(playerid, COLOR_BALLAS, string);

}

else if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)

{

SendClientMessage(playerid, COLOR_GREEN2, string);

}
      return 1;
}*/

  • Administrator
Posted

Ok, in primul rand, acolo este un  "comentariu" n-are de ce sa-ti dea eroare pe linia aceea, doar daca ii stergi "comentariul". Sau tu ai comentat-o pentru a vedea ca acolo este eroarea?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.