}
if(strcmp(cmd,"/Taxi",true) == 0)
{
und
if(strcmp(cmd,"/khtele",true) == 0)
loose indetitation
/edit }
if(strcmp(cmd,"/Taxi",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10)
{
if(Taxivar == 0)
{
MoveObject(Taxi,993.01104736328,-1380.9935302734,15.088447570801,4.0);
Taxivar = 1;
}
else
{
MoveObject(Taxi,1006.0093383789,-1381.072265625,15.024868011475,3.0);
Taxivar = 0;
}
}
else { SendClientMessage(playerid,COLOR_RED," Du bist kein Mitglied des Taxi Teams!"); }
return 1;
}
/* if(strcmp(cmd,"/fw2",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
{
if(FW3var == 0)
{
MoveObject(FW3,1803.275024, -1721.411499, 4.743988,2.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
FW3var = 1;
}
else
{
MoveObject(FW3,1803.275024, -1721.411499, 12.743988,2.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
FW3var = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Mitglied der Feuerwehr!");
return 1;
}
if(strcmp(cmd,"/fwhoch",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,1796.3038,-1703.5157,13.5293))
{
SetPlayerPos(playerid,1786.7540,-1707.5388,27.6250);
SetPlayerFacingAngle(playerid,310.4989);
}
else SendClientMessage(playerid,COLOR_RED," Du bist nicht am Teleport!");
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Mitglied der Feuerwehr!");
return 1;
}
if(strcmp(cmd,"/fwrunter",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 22 || PlayerInfo[playerid][pLeader] == 22)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,1786.7540,-1707.5388,27.6250))
{
SetPlayerPos(playerid,1796.3038,-1703.5157,13.5293);
SetPlayerFacingAngle(playerid,137.1004);
}
else SendClientMessage(playerid,COLOR_RED," Du bist nicht am Teleport!");
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Mitglied der Feuerwehr!");
return 1;
}*/
if(strcmp(cmd,"/khtele",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
{
if(IsPlayerInRangeOfPoint(playerid,3.0,2034.0126,-1403.0018,17.2933))
{
SetPlayerPos(playerid,2051.0828,-1407.7554,48.3359);
SetPlayerFacingAngle(playerid,250.0012);
}
else if(IsPlayerInRangeOfPoint(playerid,3.0,2051.0828,-1407.7554,48.3359))
{
SetPlayerPos(playerid,2034.0126,-1403.0018,17.2933);
SetPlayerFacingAngle(playerid,181.8619);
}
else SendClientMessage(playerid,COLOR_RED," Du bist nicht am Teleport-Punkt!");
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein Sanitäter!");
return 1;
/edit Ok die Tore gehen auf und zu aber weiß einer wie ich die warnings rausbekomme ?