new lcntor;
new lcntor2;
new lcntor3;
new lcntorvar;
new lcntor2var;
new lcntor3var;
if(strcmp(cmd,"/lcntor",true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid,10.0,664.88000000,-1309.57000000,15.24000000))
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(lcntorvar == 0)
{
MoveObject(lcntor,664.88000000,-1309.57000000,5.24000000,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntorvar = 1;
}
else
{
MoveObject(lcntor,664.88000000,-1309.57000000,15.24000000 ,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntorvar = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid,10.0,659.83000000,-1227.32000000,17.28000000))
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(lcntor2var == 0)
{
MoveObject(lcntor2,659.83000000,-1227.32000000,7.28000000,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntor2var = 1;
}
else
{
MoveObject(lcntor2,659.83000000,-1227.32000000,17.28000000,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntor2var = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
return 1;
}
else if(IsPlayerInRangeOfPoint(playerid,10.0,784.81000000,-1152.49000000,25.37000000))
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(lcntor3var == 0)
{
MoveObject(lcntor3,784.81000000,-1152.49000000,5.37000000,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntor3var = 1;
}
else
{
MoveObject(lcntor3,784.81000000,-1152.49000000,25.37000000,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntor3var = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
return 1;
}
}
das funtz net ,
wieso?