Hallo,
ich möchte, dass wenn man C-Bug macht
mit einer bestimmten Waffe man sofort mit einer Animation
"auf die Fresse" fliegt. Das System soll sofort eingreifen, tut es aber nicht.
Erst wenn ich 3-5 C-Bug mache werde ich auf den Boden geworfen -.-.
- if(((newkeys & KEY_FIRE) && (newkeys & KEY_HANDBRAKE) && !((newkeys & KEY_SPRINT) || (newkeys & KEY_JUMP))) ||
(newkeys & KEY_FIRE) && !((newkeys & KEY_SPRINT) || (newkeys & KEY_JUMP)) ||
((newkeys & KEY_FIRE) && (newkeys & KEY_HANDBRAKE)) ||
(newkeys & KEY_FIRE) && (oldkeys & KEY_CROUCH) && !((oldkeys & KEY_FIRE) || (newkeys & KEY_HANDBRAKE)) ||
(oldkeys & KEY_FIRE) && (newkeys & KEY_CROUCH) && !((newkeys & KEY_FIRE) || (newkeys & KEY_HANDBRAKE)))
{
if(GetPlayerWeapon(playerid) == 24 || GetPlayerWeapon(playerid) == 25 || GetPlayerWeapon(playerid) == 23 || GetPlayerWeapon(playerid) == 34)
{
SendClientMessage(playerid, RED, "System: Bitte unterlasse das C-Buggen.");
ApplyAnimation(playerid,"GYMNASIUM","gym_tread_falloff",1.0,0,0,0,0,0);
}
return 1;
}
if((newkeys & KEY_FIRE) && (newkeys & KEY_CROUCH))
{
if(GetPlayerWeapon(playerid) == 24 || GetPlayerWeapon(playerid) == 25 || GetPlayerWeapon(playerid) == 23 || GetPlayerWeapon(playerid) == 34)
{
SendClientMessage(playerid, RED, "System: Bitte unterlasse das C-Buggen.");
ApplyAnimation(playerid,"GYMNASIUM","gym_tread_falloff",1.0,0,0,0,0,0);
}
return 1;
}
if(newkeys & KEY_FIRE && oldkeys & KEY_CROUCH)
{
if(GetPlayerWeapon(playerid) == 24 || GetPlayerWeapon(playerid) == 25 || GetPlayerWeapon(playerid) == 23 || GetPlayerWeapon(playerid) == 34)
{
SendClientMessage(playerid, RED, "System: Bitte unterlasse das C-Buggen.");
ApplyAnimation(playerid,"GYMNASIUM","gym_tread_falloff",1.0,0,0,0,0,0);
}
return 1;
}
if((newkeys & KEY_FIRE && oldkeys & KEY_CROUCH && KEY_AIM))
{
if(GetPlayerWeapon(playerid) == 24 || GetPlayerWeapon(playerid) == 25 || GetPlayerWeapon(playerid) == 23 || GetPlayerWeapon(playerid) == 34)
{
SendClientMessage(playerid, RED, "System: Bitte unterlasse das C-Buggen.");
ApplyAnimation(playerid,"GYMNASIUM","gym_tread_falloff",1.0,0,0,0,0,0);
}
return 1;
}
MfG