if(strcmp(cmd, "/tazer", true) ==0)
{
if(IsPlayerConnected(playerid))
{
if([playerid][Fraktion] == 1)
{
if(IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, COLOR_GREY, "Du kannst das nicht benutzen während du im Fahrzeug sitzt!");
return 1;
}
new suspect = GetClosestPlayer(playerid);
if(IsPlayerConnected(suspect))
{
if(PlayerCuffed[suspect] > 0)
{
SendClientMessage(playerid, COLOR_GREY, "Dieser Spieler ist schon getazed!");
return 1;
}
if(GetDistanceBetweenPlayers(playerid,suspect) < 5)
{
if(gTeam[suspect] == 2)
{
SendClientMessage(playerid, COLOR_GREY, "Du kannst keinen Polizisten / FBI Agenten / Nationalgarde tazen!");
return 1;
}
if(IsPlayerInAnyVehicle(suspect))
{
SendClientMessage(playerid, COLOR_GREY, "Dieser Spieler ist in einem Fahrzeug! Bringe in zuerst raus!");
return 1;
}
GetPlayerName(suspect, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Du wurdest von %s mit seinem Elektroschocker für 8 Sekunden geschockt.", sendername);
SendClientMessage(suspect, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* Du hast %s für 8 Sekunden niedergestreckt.", giveplayer);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* %s nimmt seinen Elektroschocker raus und streckt %s nieder.", sendername ,giveplayer);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
GameTextForPlayer(suspect, "~r~Geschockt!", 2500, 3);
TogglePlayerControllable(suspect, 0);
PlayerCuffed[suspect] = 1;
PlayerCuffedTime[suspect] = 8;
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Niemand ist in deiner Nähe!");
return 1;
}
}
}
}
ich habe ein selfmade script und den hier im forum gefunden hier sind nochmal die errors :
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(192) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(194) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(196) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(197) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(198) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(204) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(205) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(206) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(207) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(214) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(215) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(216) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(217) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(218) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(219) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(231) : error 004: function "SendTurorialMessage" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(269) : error 004: function "LoadHaussystem" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(270) : error 004: function "MinutenTimer" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(288) : error 004: function "AddFraktion" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(301) : error 004: function "AddFraktion" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(314) : error 004: function "AddFraktion" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(327) : error 004: function "AddFraktion" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(340) : error 004: function "AddFraktion" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(353) : error 004: function "AddFraktion" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(366) : error 004: function "AddFraktion" is not implemented
C:\Users\DUFFY\Desktop\gamemode\GMT22.pwn(379) : error 004: function "AddFraktion" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
ich hoffe ihr könnt mir helfen