06.01.2008, 16:43 
	
	
	
		This is really gd  1 suggestion though, can u release a version where the tank shoots (my code below), i have tested code and working fine
  1 suggestion though, can u release a version where the tank shoots (my code below), i have tested code and working fine
	
	
	
	
 1 suggestion though, can u release a version where the tank shoots (my code below), i have tested code and working fine
  1 suggestion though, can u release a version where the tank shoots (my code below), i have tested code and working fineКод:
if((newkeys==KEY_FIRE)&&(IsPlayerInAnyVehicle(playerid))&&(GetPlayerState(playerid)==PLAYER_STATE_DRIVER))  {
	  if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 564)	  {
			new Float:x,Float:y,Float:z,Float:x2,Float:y2,Float:az;
			GetPlayerPos(playerid,x,y,z);
			GetVehicleZAngle(GetPlayerVehicleID(playerid), az);
			x2 = x + (30 * floatsin(-az+5, degrees));
			y2 = y + (30 * floatcos(-az+5, degrees)); 
			CreateExplosion(x2,y2,z,3,4.0);
		}
	}


