#define RED_NEW 0xF60000F6
#define BLUE_NEW 0x0000CAF6
#define GREEN 0x21DD00FF
#define ORANGE 0xF97804FF
#define hellblau 0xFFFFFF
#define ROT 0xE60000FF
#define GRUEN 0x05FF00FF
#define GELB 0xFFFF00FF
#define BLAU 0x000FFFFF
#define RED 0xE60000FF
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
public OnFilterScriptExit()
{
return 1;
}
#else
#endif
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText(".::Freeroam/TeamRPG::.");
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
///Damit er weiß was genau gemeint ist.
new Doublekill [40];
new Triplekill [40];
new BigGameHunter [60];
new unstoppable [60];
new Holyshit [60];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
///Das sind die sounds die bei gewissen Wanted*s abgespielt werden
if(GetPlayerWantedLevel(playerid) == 2)
{
PlayAudioStreamForPlayer(playerid, "http://62.75.247.18/fastdl/Doublekill.mp3");
PlayAudioStreamForPlayer(killerid, "http://62.75.247.18/fastdl/Doublekill.mp3");
format(Doublekill,sizeof(Doublekill),"%s Doppelkill!",name);
SendClientMessageToAll(RED_NEW,Doublekill);
GameTextForPlayer(playerid,"~r~Doublekill!",2000,5);
}
if(GetPlayerWantedLevel(playerid) == 3)
{
PlayAudioStreamForPlayer(playerid, "http://62.75.247.18/fastdl/Triplekill.mp3");
PlayAudioStreamForPlayer(killerid, "http://62.75.247.18/fastdl/Triplekill.mp3");
format(Triplekill,sizeof(Triplekill),"%s Triplekill!",name);
SendClientMessageToAll(RED_NEW,Triplekill);
GameTextForPlayer(playerid,"~r~Triplekill!",2000,5);
}
if(GetPlayerWantedLevel(playerid) == 6)
{
PlayAudioStreamForPlayer(playerid, "http://62.75.247.18/fastdl/BigGameHunter");
PlayAudioStreamForPlayer(killerid, "http://62.75.247.18/fastdl/BigGameHunter");
format(BigGameHunter,sizeof(BigGameHunter),"%s ist ein BigGameHunter!!!!",name);
SendClientMessageToAll(RED_NEW,BigGameHunter);
GameTextForPlayer(killerid,"~r~BigGameHunter!",2000,5);
}
if(GetPlayerWantedLevel(playerid) == 10)
{
PlayAudioStreamForPlayer(playerid, "http://62.75.247.18/fastdl/unstoppable.mp3");
PlayAudioStreamForPlayer(killerid, "http://62.75.247.18/fastdl/unstoppable.mp3");
format(unstoppable,sizeof(unstoppable),"%s ist nicht aufzuhalten !!",name);
SendClientMessageToAll(RED_NEW,unstoppable);
GameTextForPlayer(killerid,"~r~unstoppable!",2000,5);
}
if(GetPlayerWantedLevel(playerid) == 15)
{
PlayAudioStreamForPlayer(playerid, "http://62.75.247.18/fastdl/Holyshit.mp3");
PlayAudioStreamForPlayer(killerid, "http://62.75.247.18/fastdl/Holyshit.mp3");
format(Holyshit,sizeof(Holyshit),"%s du bist wahrlich ein ProGamer!!!",name);
SendClientMessageToAll(RED_NEW,Holyshit);
GameTextForPlayer(killerid,"~r~HolyShit!!",2000,5);
}
return 1;
}
//edit Fehler behoben.
//edit Was vergessen.