was hier rann falsch ? igendwie klappts net
if(newkeys == KEY_FIRE)
{
if(PlayerToPoint(5.0,playerid,293.8557,-159.7837,1011.9882) && KEY_FIRE)
{
Schuss[playerid] = 1;
return 1;
}
if(PlayerToPoint(5.0,playerid,293.8557,-159.7837,1011.9882) && KEY_FIRE && Schuss[playerid] == 1)
{
Schuss[playerid] = 2;
return 1;
}
if(PlayerToPoint(5.0,playerid,293.8557,-159.7837,1011.9882) && KEY_FIRE && Schuss[playerid] == 2)
{
Schuss[playerid] = 3;
return 1;
}
if(PlayerToPoint(5.0,playerid,293.8557,-159.7837,1011.9882) && KEY_FIRE && Schuss[playerid] == 3)
{
Schuss[playerid] = 4;
return 1;
}
if(PlayerToPoint(5.0,playerid,293.8557,-159.7837,1011.9882) && KEY_FIRE && Schuss[playerid] == 4)
{
Schuss[playerid] = 5;
return 1;
}
if(PlayerToPoint(5.0,playerid,293.8557,-159.7837,1011.9882) && KEY_FIRE && Schuss[playerid] == 5)
{
Schuss[playerid] = 6;
SendClientMessage(playerid, Grün, "Super gehe nun zum dem Computer.");
}
}// geht noch weiter
//EDIT: Angepasst